1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

CURLOPT_TCP_NODELAY.3: fix comment in example code

Closes #6096
This commit is contained in:
Zenju 2020-10-16 14:44:34 +02:00 committed by Daniel Stenberg
parent a3d5b199f9
commit 6d1a05b0bf
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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);
}