Edit report at https://bugs.php.net/bug.php?id=63057&edit=1
ID: 63057 Updated by: [email protected] Reported by: stefanos at cpan dot org Summary: problem in cUrl with CURLOPT_PRIVATE and CURLINFO_PRIVATE Status: Open Type: Bug Package: cURL related Operating System: Debian Linux 6.0.5 PHP Version: 5.3.16 Block user comment: N Private report: N New Comment: Ok, I compiled against 7.27 and I am still unable to reproduce this: 12:02am x220:~> php -i | grep "cURL Info" cURL Information => 7.27.0 12:02am x220:~> php test.php Next - 666 - 404 - 0.55528 Sec - Request http://www.kb-gaming.com/ Next - 64 - 200 - 0.746688 Sec - Request http://www.sd-p.ch/ Next - 600 - 200 - 0.554405 Sec - Request http://richardschwab.de/ Next - 620 - 200 - 0.782507 Sec - Request https://www.google.de/ Previous Comments: ------------------------------------------------------------------------ [2012-09-11 05:18:03] [email protected] PHP 5.3.16/5.4.6 w/ Curl 7.22 Next - 666 - 404 - 0.543194 Sec - Request http://www.kb-gaming.com/ Next - 64 - 200 - 0.759856 Sec - Request http://www.sd-p.ch/ Next - 600 - 200 - 0.555988 Sec - Request http://richardschwab.de/ Next - 620 - 200 - 0.769565 Sec - Request https://www.google.de/ ------------------------------------------------------------------------ [2012-09-11 04:59:56] stefanos at cpan dot org maybe a libcurl issue, can you test this with newer cUrl version? 7.15.5 is very old (year 2006) ------------------------------------------------------------------------ [2012-09-11 04:19:18] [email protected] I can not reproduce this, maybe a libcurl issue? cURL support => enabled cURL Information => 7.15.5 ------------------------------------------------------------------------ [2012-09-10 21:21:40] stefanos at cpan dot org 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 this bug report at https://bugs.php.net/bug.php?id=63057&edit=1
