(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 16 Nov 2011 15:59:05 +0000 (15:59 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 16 Nov 2011 15:59:05 +0000 (15:59 +0000)
src/transport/plugin_transport_http.h
src/transport/plugin_transport_http_server.c

index 7ace96cb6bf5efc8145b6e6a01475eb7f9c3ce76..6835beab4bedd60c86b926096c42462df8aefe49 100644 (file)
@@ -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.
index e064e71cfbd3be5aa44a86e7df7edeaeb5682c8b..159b0853f6500753b481ae06e2ccb182c43dd5a3 100644 (file)
@@ -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);