php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch CURLOPT_TCP_NODELAY for cURL related Bug #69366

Patch version 2015-04-03 14:18 UTC

Return to Bug #69366 | Download this patch
Patch Revisions:

Developer: cmb@php.net

Index: en/reference/curl/functions/curl-setopt.xml
===================================================================
--- en/reference/curl/functions/curl-setopt.xml	(revision 336342)
+++ en/reference/curl/functions/curl-setopt.xml	(working copy)
@@ -219,8 +219,8 @@
           <row>
            <entry valign="top"><constant>CURLOPT_TCP_NODELAY</constant></entry>
            <entry valign="top">
-            Pass a long specifying whether the TCP_NODELAY option is to be set or
-            cleared (1 = set, 0 = clear). The option is cleared by default.
+            &true; to disable TCP's Nagle algorithm, which tries to minimize
+            the number of small packets on the network.
            </entry>
            <entry valign="top">
             Available since PHP 5.2.1 for versions compiled with libcurl 7.11.2 or
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 07:01:32 2024 UTC