[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r35298 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r35298 - gnunet/src/transport |
Date: |
Mon, 23 Feb 2015 01:39:06 +0100 |
Author: amatus
Date: 2015-02-23 01:39:06 +0100 (Mon, 23 Feb 2015)
New Revision: 35298
Modified:
gnunet/src/transport/plugin_transport_http_server.c
Log:
Don't timeout XHR clients so quickly.
Modified: gnunet/src/transport/plugin_transport_http_server.c
===================================================================
--- gnunet/src/transport/plugin_transport_http_server.c 2015-02-22 22:10:15 UTC
(rev 35297)
+++ gnunet/src/transport/plugin_transport_http_server.c 2015-02-23 00:39:06 UTC
(rev 35298)
@@ -1525,24 +1525,8 @@
s->scope);
}
- if ( (NULL == s->server_recv) ||
- (NULL == s->server_send) )
- {
- to = (HTTP_SERVER_NOT_VALIDATED_TIMEOUT.rel_value_us / 1000LL / 1000LL);
- MHD_set_connection_option (mhd_connection,
- MHD_CONNECTION_OPTION_TIMEOUT, to);
- server_reschedule (plugin, sc->mhd_daemon, GNUNET_NO);
- }
- else
- {
- LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Session %p for peer `%s' fully connected\n",
- s, GNUNET_i2s (&target));
- to = (HTTP_SERVER_SESSION_TIMEOUT.rel_value_us / 1000LL / 1000LL);
- server_mhd_connection_timeout (plugin, s, to);
- }
- LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Setting timeout for %p to %u sec.\n", sc, to);
+ to = (HTTP_SERVER_SESSION_TIMEOUT.rel_value_us / 1000LL / 1000LL);
+ server_mhd_connection_timeout (plugin, s, to);
return sc;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r35298 - gnunet/src/transport,
gnunet <=