Browse Source

CURLOPT_TCP_NODELAY.3: fix typo

Closes #2239
master
rouzier 4 years ago
committed by Daniel Stenberg
parent
commit
945df74101
No known key found for this signature in database GPG Key ID: 5CC908FDB71E12C2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/libcurl/opts/CURLOPT_TCP_NODELAY.3

+ 1
- 1
docs/libcurl/opts/CURLOPT_TCP_NODELAY.3 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


Loading…
Cancel
Save