#39933 [NEW]: Curl extension is missing CURLOPT_TCP_NODELAY
| From: | gopalv@php.net | Date: | Fri, 22 Dec 2006 19:36:16 +0000 |
| Subject: | #39933 [NEW]: Curl extension is missing CURLOPT_TCP_NODELAY | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-106803@lists.php.net to get a copy of this message | ||
From: gopalv@php.net
Operating system: linux-i686
PHP version: 5CVS-2006-12-22 (CVS)
PHP Bug Type: cURL related
Bug description: Curl extension is missing CURLOPT_TCP_NODELAY
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 bug report at http://bugs.php.net/?id=39933&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39933&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39933&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39933&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39933&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39933&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39933&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39933&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39933&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39933&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39933&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39933&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39933&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39933&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39933&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39933&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39933&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39933&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39933&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39933&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39933&r=mysqlcfg