ID:               39933
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         cURL related
 Operating System: linux-i686
 PHP Version:      5CVS-2006-12-22 (CVS)
 New Comment:

For a more decent test case 

http://phpfi.com/187148

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


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

[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