[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r17155 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r17155 - gnunet/src/transport |
Date: |
Tue, 4 Oct 2011 10:30:57 +0200 |
Author: wachs
Date: 2011-10-04 10:30:57 +0200 (Tue, 04 Oct 2011)
New Revision: 17155
Modified:
gnunet/src/transport/plugin_transport_http_client.c
Log:
re-enabling timeouts
Modified: gnunet/src/transport/plugin_transport_http_client.c
===================================================================
--- gnunet/src/transport/plugin_transport_http_client.c 2011-10-03 17:57:41 UTC
(rev 17154)
+++ gnunet/src/transport/plugin_transport_http_client.c 2011-10-04 08:30:57 UTC
(rev 17155)
@@ -507,12 +507,10 @@
curl_easy_setopt (s->client_get, CURLOPT_WRITEFUNCTION, client_receive);
curl_easy_setopt (s->client_get, CURLOPT_WRITEDATA, s);
curl_easy_setopt (s->client_get, CURLOPT_TIMEOUT_MS,
- 30000);
- //(long)
GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT.rel_value);
+ (long) GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT.rel_value);
curl_easy_setopt (s->client_get, CURLOPT_PRIVATE, s);
curl_easy_setopt (s->client_get, CURLOPT_CONNECTTIMEOUT_MS,
- 30000);
- //(long) HTTP_NOT_VALIDATED_TIMEOUT.rel_value);
+ (long) HTTP_NOT_VALIDATED_TIMEOUT.rel_value);
curl_easy_setopt (s->client_get, CURLOPT_BUFFERSIZE,
2 * GNUNET_SERVER_MAX_MESSAGE_SIZE);
#if CURL_TCP_NODELAY
@@ -540,12 +538,10 @@
curl_easy_setopt (s->client_put, CURLOPT_WRITEFUNCTION, client_receive);
curl_easy_setopt (s->client_put, CURLOPT_WRITEDATA, s);
curl_easy_setopt (s->client_put, CURLOPT_TIMEOUT_MS,
- 300000);
- //(long)
GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT.rel_value);
+ (long) GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT.rel_value);
curl_easy_setopt (s->client_put, CURLOPT_PRIVATE, s);
curl_easy_setopt (s->client_put, CURLOPT_CONNECTTIMEOUT_MS,
- 300000);
- //(long) HTTP_NOT_VALIDATED_TIMEOUT.rel_value);
+ (long) HTTP_NOT_VALIDATED_TIMEOUT.rel_value);
curl_easy_setopt (s->client_put, CURLOPT_BUFFERSIZE,
2 * GNUNET_SERVER_MAX_MESSAGE_SIZE);
#if CURL_TCP_NODELAY
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r17155 - gnunet/src/transport,
gnunet <=