From 2d0451c3fc7eeb950ab5a65b78afdcbaee098b9a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 10 Oct 2011 11:22:19 +0000 Subject: [PATCH] DCE --- src/core/gnunet-service-core_kx.c | 5 +---- src/core/gnunet-service-core_neighbours.c | 8 -------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/src/core/gnunet-service-core_kx.c b/src/core/gnunet-service-core_kx.c index 6d10c9022..ba3ab87b9 100644 --- a/src/core/gnunet-service-core_kx.c +++ b/src/core/gnunet-service-core_kx.c @@ -93,8 +93,7 @@ struct PingMessage /** - * Response to a PING. Includes data from the original PING - * plus initial bandwidth quota information. + * Response to a PING. Includes data from the original PING. */ struct PongMessage { @@ -898,8 +897,6 @@ GSC_KX_handle_ping (struct GSC_KeyExchangeInfo *kx, } /* construct PONG */ tx.reserved = GNUNET_BANDWIDTH_VALUE_MAX; - /* FIXME: here we should ideally ask ATS about unassigned bandwidth and fill in - a value based on that; using the minimum here results in a rather slow start... */ tx.challenge = t.challenge; tx.target = t.target; tp.header.type = htons (GNUNET_MESSAGE_TYPE_CORE_PONG); diff --git a/src/core/gnunet-service-core_neighbours.c b/src/core/gnunet-service-core_neighbours.c index 0548766d0..2aabde05e 100644 --- a/src/core/gnunet-service-core_neighbours.c +++ b/src/core/gnunet-service-core_neighbours.c @@ -34,14 +34,6 @@ #include "gnunet_constants.h" -/** - * Receive and send buffer windows grow over time. For - * how long can 'unused' bandwidth accumulate before we - * need to cap it? (specified in seconds). - */ -#define MAX_WINDOW_TIME_S (5 * 60) - - /** * Message ready for transmission via transport service. This struct * is followed by the actual content of the message. -- 2.25.1