#39933 [Opn->Bgs]: Curl extension is missing CURLOPT_TCP_NODELAY

From: Date: Mon, 04 May 2009 12:15:59 +0000
Subject: #39933 [Opn->Bgs]: Curl extension is missing CURLOPT_TCP_NODELAY
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-136724@lists.php.net to get a copy of this message
ID: 39933 Updated by: pajoye@php.net Reported By: gopalv@php.net -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] gopalv@php.net 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] 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

« previous php.bugs (#136724) next »