php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65704 curl_multi does not work with libcurl >= 7.32
Submitted: 2013-09-19 08:12 UTC Modified: 2014-12-30 10:42 UTC
Votes:6
Avg. Score:4.2 ± 1.5
Reproduced:6 of 6 (100.0%)
Same Version:4 (66.7%)
Same OS:5 (83.3%)
From: gil at disatnik dot com Assigned:
Status: No Feedback Package: cURL related
PHP Version: 5.5.3 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: gil at disatnik dot com
New email:
PHP Version: OS:

 

 [2013-09-19 08:12 UTC] gil at disatnik dot com
Description:
------------
Hello.
I have noticed that curl_multi does not work with some of my machines running php 
5.5.3.
I have confirmed the same behavior in both Debian unstable and Ubuntu (installed 
13.10 beta that comes with 5.5.3 so I could see if it has the same problem)
I noticed that when I installed php 5.5.3 on Ubuntu 12.04 (using libcurl 7.22 -
(4.2.0.so)) 
everything works as expected so my guess would be that this is some sort of 
incompatibility with the newer curl version (both Ubuntu 13.10 and Debian 
unstable are running curl 7.32 (4.3.0.so))
My own POC script simply creates empty files and the sample from php.net doesn't 
work (hangs and does nothing).

Test script:
---------------
Example from php.net: http://php.net/manual/en/function.curl-multi-exec.php
My own test script  : http://pastebin.com/jytDnqBp


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-11-08 00:05 UTC] pierrick@php.net
-Status: Open +Status: Feedback
 [2013-11-08 00:05 UTC] pierrick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


What kind of problem do you have ?

I tried your test script on php-5.5.3 with curl & curl 7.33 and everything seems to work as expected. Did you build php and libcurl by yourself ? or did you used the Ubuntu/Debian version ?
 [2014-12-30 10:42 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Apr 09 20:01:23 2020 UTC