From: stefanos at cpan dot org Operating system: Debian Linux 6.0.5 PHP version: 5.3.16 Package: cURL related Bug Type: Bug Bug description:problem in cUrl with CURLOPT_PRIVATE and CURLINFO_PRIVATE
Description: ------------ Currently, while using a testscript with curl_multi, the option CURLOPT_PRIVATE (per curl_setopt) isn't stored correctly, is getting messed up or can't be retrieved properly with curl_getinfo($curl,CURLINFO_PRIVATE). The result with multiple URLs is that the last entry (in this example 620) is used instead of 64, 666, 600. cUrl version 7.27.0 Now where exactly is the error? Script? cURL? PHP? Test script: --------------- More as 20 lines, see the url: http://pastebin.com/raw.php?i=dascV5Xv Expected result: ---------------- Next - 64 - 404 - 0.061303 Sec - Request http://www.kb-gaming.com/ Next - 666 - 200 - 0.057142 Sec - Request http://www.sd-p.ch/ Next - 600 - 200 - 0.032915 Sec - Request http://richardschwab.de/ Next - 620 - 200 - 0.326081 Sec - Request https://www.google.de/ Actual result: -------------- Next - - 404 - 0.061303 Sec - Request http://www.kb-gaming.com/ Next - 620 - 200 - 0.057142 Sec - Request http://www.sd-p.ch/ Next - 620 - 200 - 0.032915 Sec - Request http://richardschwab.de/ Next - 620 - 200 - 0.326081 Sec - Request https://www.google.de/ -- Edit bug report at https://bugs.php.net/bug.php?id=63057&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63057&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63057&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63057&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63057&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=63057&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=63057&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63057&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63057&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63057&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63057&r=support Expected behavior: https://bugs.php.net/fix.php?id=63057&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63057&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63057&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63057&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63057&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63057&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63057&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63057&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63057&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63057&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63057&r=mysqlcfg