Edit report at https://bugs.php.net/bug.php?id=63057&edit=1
ID: 63057 User updated by: stefanos at cpan dot org Reported by: stefanos at cpan dot org Summary: problem in cUrl with CURLOPT_PRIVATE and CURLINFO_PRIVATE -Status: Open +Status: Closed Type: Bug Package: cURL related Operating System: Debian Linux 6.0.5 -PHP Version: 5.3.16 +PHP Version: 5.4.16 Block user comment: N Private report: N New Comment: okay, thanks for the answer. With php version 5.4.6 is no problem. I close the bugreport. Previous Comments: ------------------------------------------------------------------------ [2012-09-11 07:03:53] ras...@php.net 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/ ------------------------------------------------------------------------ [2012-09-11 05:18:03] ras...@php.net 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] larue...@php.net 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