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
1 changed files with 1 additions and 1 deletions

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