ID:               39933
 Updated by:       [email protected]
 Reported By:      [email protected]
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: linux-i686
 PHP Version:      5CVS-2006-12-22 (CVS)
 New Comment:

added already.


Previous Comments:
------------------------------------------------------------------------

[2006-12-22 19:39:07] [email protected]

For a more decent test case 

http://phpfi.com/187148

$curlopts is derieved from the enum CURLOption in curl/curl.h

------------------------------------------------------------------------

[2006-12-22 19:36:16] [email protected]

Description:
------------
ext/curl is missing the constant CURLOPT_TCP_NODELAY (121)

Reproduce code:
---------------
<?php
     $ch = curl_init('http://localhost');
     curl_setopt($ch, CURLOPT_TCP_NODELAY, 1);
?>


Expected result:
----------------
the curl tcpnodelay() function is called and socket optiosn set.

Actual result:
--------------
PHP Notice:  Use of undefined constant CURLOPT_TCP_NODELAY


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39933&edit=1

Reply via email to