aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-11-16 15:59:05 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-11-16 15:59:05 +0000
commit07b7aa1893b07aca61428ec7fd66d0241e28c417 (patch)
tree3529feda58354315efe51e280f18042f22c743cd
parent07c51cd9a293a302013169566c2508fb320522d4 (diff)
downloadgnunet-07b7aa1893b07aca61428ec7fd66d0241e28c417.tar.gz
gnunet-07b7aa1893b07aca61428ec7fd66d0241e28c417.zip
-rw-r--r--src/transport/plugin_transport_http.h2
-rw-r--r--src/transport/plugin_transport_http_server.c2
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 @@
59#define OUTBOUND GNUNET_NO 59#define OUTBOUND GNUNET_NO
60 60
61 61
62#define HTTP_NOT_VALIDATED_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 3) 62#define HTTP_NOT_VALIDATED_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 15)
63 63
64/** 64/**
65 * Encapsulation of all of the state of the plugin. 65 * 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)
1075 1075
1076 1076
1077#if MHD_VERSION >= 0x00090E00 1077#if MHD_VERSION >= 0x00090E00
1078 timeout = GNUNET_CONSTANTS_DISCONNECT_SESSION_TIMEOUT.rel_value / 1000; 1078 timeout = HTTP_NOT_VALIDATED_TIMEOUT.rel_value / 1000;
1079 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name, 1079 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name,
1080 "MHD can set timeout per connection! Default time out %u sec.\n", 1080 "MHD can set timeout per connection! Default time out %u sec.\n",
1081 timeout); 1081 timeout);