From 1bd94de53f074f451440dc9a8d466359f35f00c1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 13 Aug 2011 10:37:53 +0000 Subject: traffic report is not used --- src/include/gnunet_constants.h | 2 +- src/include/gnunet_transport_plugin.h | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'src/include') diff --git a/src/include/gnunet_constants.h b/src/include/gnunet_constants.h index 4fcdc0dbb..da408bf55 100644 --- a/src/include/gnunet_constants.h +++ b/src/include/gnunet_constants.h @@ -49,7 +49,7 @@ extern "C" * After how long do we consider a connection to a peer dead * if we don't receive messages from the peer? */ -#define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 3) +#define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 5) /** * After how long do we consider a connection to a peer dead diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h index 99f695264..fdd298e7f 100644 --- a/src/include/gnunet_transport_plugin.h +++ b/src/include/gnunet_transport_plugin.h @@ -230,12 +230,6 @@ struct GNUNET_TRANSPORT_PluginEnvironment */ GNUNET_TRANSPORT_AddressNotification notify_address; - /** - * Inform service about traffic received, get information - * about when we might be willing to receive more. - */ - GNUNET_TRANSPORT_TrafficReport traffic_report; - /** * Function that must be called by the plugin when a non-NULL * session handle stops being valid (is destroyed). -- cgit v1.2.3