diff options
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r-- | src/transport/plugin_transport_http_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index e91149289..e20948c5a 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c | |||
@@ -1638,7 +1638,7 @@ client_connect_get (struct GNUNET_ATS_Session *s) | |||
1638 | CURLOPT_CONNECTTIMEOUT_MS, | 1638 | CURLOPT_CONNECTTIMEOUT_MS, |
1639 | (long) (HTTP_CLIENT_NOT_VALIDATED_TIMEOUT.rel_value_us / 1000LL)); | 1639 | (long) (HTTP_CLIENT_NOT_VALIDATED_TIMEOUT.rel_value_us / 1000LL)); |
1640 | curl_easy_setopt (s->get.easyhandle, CURLOPT_BUFFERSIZE, | 1640 | curl_easy_setopt (s->get.easyhandle, CURLOPT_BUFFERSIZE, |
1641 | 2 * GNUNET_SERVER_MAX_MESSAGE_SIZE); | 1641 | 2 * GNUNET_MAX_MESSAGE_SIZE); |
1642 | #if CURL_TCP_NODELAY | 1642 | #if CURL_TCP_NODELAY |
1643 | curl_easy_setopt (ps->recv_endpoint, | 1643 | curl_easy_setopt (ps->recv_endpoint, |
1644 | CURLOPT_TCP_NODELAY, | 1644 | CURLOPT_TCP_NODELAY, |
@@ -1815,7 +1815,7 @@ client_connect_put (struct GNUNET_ATS_Session *s) | |||
1815 | CURLOPT_CONNECTTIMEOUT_MS, | 1815 | CURLOPT_CONNECTTIMEOUT_MS, |
1816 | (long) (HTTP_CLIENT_NOT_VALIDATED_TIMEOUT.rel_value_us / 1000LL)); | 1816 | (long) (HTTP_CLIENT_NOT_VALIDATED_TIMEOUT.rel_value_us / 1000LL)); |
1817 | curl_easy_setopt (s->put.easyhandle, CURLOPT_BUFFERSIZE, | 1817 | curl_easy_setopt (s->put.easyhandle, CURLOPT_BUFFERSIZE, |
1818 | 2 * GNUNET_SERVER_MAX_MESSAGE_SIZE); | 1818 | 2 * GNUNET_MAX_MESSAGE_SIZE); |
1819 | #if CURL_TCP_NODELAY | 1819 | #if CURL_TCP_NODELAY |
1820 | curl_easy_setopt (s->put.easyhandle, CURLOPT_TCP_NODELAY, 1); | 1820 | curl_easy_setopt (s->put.easyhandle, CURLOPT_TCP_NODELAY, 1); |
1821 | #endif | 1821 | #endif |