mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
parent
8dd4edeb90
commit
945df74101
@ -52,7 +52,7 @@ CURL *curl = curl_easy_init();
|
|||||||
if(curl) {
|
if(curl) {
|
||||||
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
|
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
|
||||||
/* disable Nagle */
|
/* disable Nagle */
|
||||||
curl_easy_setopt(curl, CURLOPT_TCP_FASTOPEN, 0);
|
curl_easy_setopt(curl, CURLOPT_TCP_NODELAY, 0);
|
||||||
curl_easy_perform(curl);
|
curl_easy_perform(curl);
|
||||||
}
|
}
|
||||||
.fi
|
.fi
|
||||||
|
Loading…
Reference in New Issue
Block a user