#39933 [Opn]: Curl extension is missing CURLOPT_TCP_NODELAY
| From: | gopalv@php.net | Date: | Fri, 22 Dec 2006 19:39:08 +0000 |
| Subject: | #39933 [Opn]: Curl extension is missing CURLOPT_TCP_NODELAY | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106804@lists.php.net to get a copy of this message | ||
ID: 39933
User updated by: gopalv@php.net
Reported By: gopalv@php.net
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] gopalv@php.net
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