Bug #63057 [Opn]: problem in cUrl with CURLOPT_PRIVATE and CURLINFO_PRIVATE

From: Date: Tue, 11 Sep 2012 04:19:18 +0000
Subject: Bug #63057 [Opn]: problem in cUrl with CURLOPT_PRIVATE and CURLINFO_PRIVATE
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-173308@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63057&edit=1

 ID:                 63057
 Updated by:         laruence@php.net
 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:

I can not reproduce this, maybe a libcurl issue?

cURL support => enabled
cURL Information => 7.15.5


Previous Comments:
------------------------------------------------------------------------
[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


Thread (6 messages)

« previous php.bugs (#173308) next »