From: Matthias Wachs Date: Wed, 16 Nov 2011 15:59:05 +0000 (+0000) Subject: (no commit message) X-Git-Tag: initial-import-from-subversion-38251~15901 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=07b7aa1893b07aca61428ec7fd66d0241e28c417;p=oweals%2Fgnunet.git --- diff --git a/src/transport/plugin_transport_http.h b/src/transport/plugin_transport_http.h index 7ace96cb6..6835beab4 100644 --- a/src/transport/plugin_transport_http.h +++ b/src/transport/plugin_transport_http.h @@ -59,7 +59,7 @@ #define OUTBOUND GNUNET_NO -#define HTTP_NOT_VALIDATED_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 3) +#define HTTP_NOT_VALIDATED_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 15) /** * Encapsulation of all of the state of the plugin. diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c index e064e71cf..159b0853f 100644 --- a/src/transport/plugin_transport_http_server.c +++ b/src/transport/plugin_transport_http_server.c @@ -1075,7 +1075,7 @@ server_start (struct Plugin *plugin) #if MHD_VERSION >= 0x00090E00 - timeout = GNUNET_CONSTANTS_DISCONNECT_SESSION_TIMEOUT.rel_value / 1000; + timeout = HTTP_NOT_VALIDATED_TIMEOUT.rel_value / 1000; GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name, "MHD can set timeout per connection! Default time out %u sec.\n", timeout);