diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-10-05 16:18:30 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-10-05 16:18:30 +0000 |
commit | b6b0e1dc84367e2475e1dd70c0078092331f7a7f (patch) | |
tree | 751156389433e6551eecbc00168e964e8c376ec7 /src/transport/plugin_transport_http_server.c | |
parent | 38b51d08ea2e25d05a843e1748817e448e69f776 (diff) | |
download | gnunet-b6b0e1dc84367e2475e1dd70c0078092331f7a7f.tar.gz gnunet-b6b0e1dc84367e2475e1dd70c0078092331f7a7f.zip |
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r-- | src/transport/plugin_transport_http_server.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c index 786b4fa93..23dbd388b 100644 --- a/src/transport/plugin_transport_http_server.c +++ b/src/transport/plugin_transport_http_server.c | |||
@@ -629,7 +629,6 @@ server_access_cb (void *cls, struct MHD_Connection *mhd_connection, | |||
629 | res = GNUNET_SERVER_mst_receive (s->msg_tk, s, upload_data, *upload_data_size, GNUNET_NO, GNUNET_NO); | 629 | res = GNUNET_SERVER_mst_receive (s->msg_tk, s, upload_data, *upload_data_size, GNUNET_NO, GNUNET_NO); |
630 | 630 | ||
631 | #if MHD_VERSION >= 0x00090E00 | 631 | #if MHD_VERSION >= 0x00090E00 |
632 | #endif | ||
633 | int to = (GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT.rel_value / 1000); | 632 | int to = (GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT.rel_value / 1000); |
634 | struct ServerConnection *t = NULL; | 633 | struct ServerConnection *t = NULL; |
635 | 634 | ||
@@ -658,7 +657,7 @@ server_access_cb (void *cls, struct MHD_Connection *mhd_connection, | |||
658 | MHD_set_connection_option (t->mhd_conn, MHD_CONNECTION_OPTION_TIMEOUT, to); | 657 | MHD_set_connection_option (t->mhd_conn, MHD_CONNECTION_OPTION_TIMEOUT, to); |
659 | } | 658 | } |
660 | server_reschedule (plugin, GNUNET_NO); | 659 | server_reschedule (plugin, GNUNET_NO); |
661 | 660 | #endif | |
662 | (*upload_data_size) = 0; | 661 | (*upload_data_size) = 0; |
663 | } | 662 | } |
664 | else | 663 | else |