1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

CURLOPT_TCP_NODELAY.3: fix typo

Closes #2239
This commit is contained in:
rouzier 2018-01-15 11:06:38 -05:00 committed by Daniel Stenberg
parent 8dd4edeb90
commit 945df74101
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -52,7 +52,7 @@ CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
/* disable Nagle */
curl_easy_setopt(curl, CURLOPT_TCP_FASTOPEN, 0);
curl_easy_setopt(curl, CURLOPT_TCP_NODELAY, 0);
curl_easy_perform(curl);
}
.fi