mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 09:08:49 -05:00
parent
a3d5b199f9
commit
6d1a05b0bf
@ -51,7 +51,7 @@ All
|
|||||||
CURL *curl = curl_easy_init();
|
CURL *curl = curl_easy_init();
|
||||||
if(curl) {
|
if(curl) {
|
||||||
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
|
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
|
||||||
/* disable Nagle */
|
/* leave Nagle enabled */
|
||||||
curl_easy_setopt(curl, CURLOPT_TCP_NODELAY, 0);
|
curl_easy_setopt(curl, CURLOPT_TCP_NODELAY, 0);
|
||||||
curl_easy_perform(curl);
|
curl_easy_perform(curl);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user