From 07b7aa1893b07aca61428ec7fd66d0241e28c417 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 16 Nov 2011 15:59:05 +0000 Subject: --- src/transport/plugin_transport_http.h | 2 +- src/transport/plugin_transport_http_server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- cgit v1.2.3