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