diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-13 10:37:53 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-13 10:37:53 +0000 |
commit | 1bd94de53f074f451440dc9a8d466359f35f00c1 (patch) | |
tree | 4435032175333119ea157a2ded20e1121bc6e4ac /src/include | |
parent | 6180140e3395ebec3c1e2ae50cd07f0feda24b40 (diff) | |
download | gnunet-1bd94de53f074f451440dc9a8d466359f35f00c1.tar.gz gnunet-1bd94de53f074f451440dc9a8d466359f35f00c1.zip |
traffic report is not used
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_constants.h | 2 | ||||
-rw-r--r-- | src/include/gnunet_transport_plugin.h | 6 |
2 files changed, 1 insertions, 7 deletions
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" | |||
49 | * After how long do we consider a connection to a peer dead | 49 | * After how long do we consider a connection to a peer dead |
50 | * if we don't receive messages from the peer? | 50 | * if we don't receive messages from the peer? |
51 | */ | 51 | */ |
52 | #define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 3) | 52 | #define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 5) |
53 | 53 | ||
54 | /** | 54 | /** |
55 | * After how long do we consider a connection to a peer dead | 55 | * 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 | |||
@@ -231,12 +231,6 @@ struct GNUNET_TRANSPORT_PluginEnvironment | |||
231 | GNUNET_TRANSPORT_AddressNotification notify_address; | 231 | GNUNET_TRANSPORT_AddressNotification notify_address; |
232 | 232 | ||
233 | /** | 233 | /** |
234 | * Inform service about traffic received, get information | ||
235 | * about when we might be willing to receive more. | ||
236 | */ | ||
237 | GNUNET_TRANSPORT_TrafficReport traffic_report; | ||
238 | |||
239 | /** | ||
240 | * Function that must be called by the plugin when a non-NULL | 234 | * Function that must be called by the plugin when a non-NULL |
241 | * session handle stops being valid (is destroyed). | 235 | * session handle stops being valid (is destroyed). |
242 | */ | 236 | */ |