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
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 — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
21 + 25 = ?
Subscribe to this entry?

 
 [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-2021 The PHP Group
All rights reserved.
Last updated: Thu Aug 05 12:01:23 2021 UTC