|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38693 curl_multi_add_handle set curl handle to null
Submitted: 2006-09-02 19:26 UTC Modified: 2006-09-04 16:31 UTC
From: waax at yahoo dot com Assigned:
Status: Closed Package: cURL related
PHP Version: 5CVS-2006-09-02 (CVS) OS: Windows XP SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
3 + 17 = ?
Subscribe to this entry?

 [2006-09-02 19:26 UTC] waax at yahoo dot com
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 ( 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:
$mh = curl_multi_init();
$ch = curl_init("");
curl_multi_add_handle($mh, $ch);


Expected result:
resource(5) of type (curl)

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-04 16:31 UTC]
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
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Sep 29 00:03:35 2021 UTC