#38693 [Ver->Csd]: curl_multi_add_handle set curl handle to null

From: Date: Mon, 04 Sep 2006 16:31:48 +0000
Subject: #38693 [Ver->Csd]: curl_multi_add_handle set curl handle to null
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-101717@lists.php.net to get a copy of this message
ID: 38693 Updated by: iliaa@php.net Reported By: waax at yahoo dot com -Status: Verified +Status: Closed Bug Type: cURL related Operating System: Windows XP SP2 PHP Version: 5CVS-2006-09-02 (CVS) New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2006-09-02 19:26:46] waax at yahoo dot com Description: ------------ The scripts create a curl multi handle and then add a curl handle. I expected to be able to use the curl handle after adding it to the multi handle. Instead, the curl handle becomes NULL. I think it's related to the bug #38637 (http://bugs.php.net/bug.php?id=38637&edit=2) because it stopped working after i took the latest cvs. PHP Version => 5.2.0RC4-dev CURL Information => libcurl/7.14.0 OpenSSL/0.9.8a zlib/1.2.3 Reproduce code: --------------- <?php $mh = curl_multi_init(); $ch = curl_init("http://yahoo.com"); curl_multi_add_handle($mh, $ch); var_dump($ch); ?> Expected result: ---------------- resource(5) of type (curl) Actual result: -------------- NULL ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38693&edit=1

« previous php.bugs (#101717) next »