Bug #70065 [Opn->Csd]: curl_getinfo() returns corrupted values
| From: | ab@php.net | Date: | Mon, 13 Jul 2015 19:51:08 +0000 |
| Subject: | Bug #70065 [Opn->Csd]: curl_getinfo() returns corrupted values | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-194413@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70065&edit=1
ID: 70065
Updated by: ab@php.net
Reported by: segfall at gmail dot com
Summary: curl_getinfo() returns corrupted values
-Status: Open
+Status: Closed
Type: Bug
Package: cURL related
Operating System: Windows 8.1 Pro x64
PHP Version: 7.0.0beta1
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=cefd010739e19b16d60544f6107c2c83e1430fb8
Log: Fixed bug #70065 curl_getinfo() returns corrupted values
Previous Comments:
------------------------------------------------------------------------
[2015-07-13 18:14:01] segfall at gmail dot com
Description:
------------
Default PHP package for Windows:
VC14 x64 Thread Safe (2015-Jul-10 21:13:03)
PHP 7.0.0beta1 (cli) (built: Jul 10 2015 10:58:11)
Test script:
---------------
$curl = curl_init('http://whatismyip.akamai.com/');
curl_exec($curl);
Expected result:
----------------
[...] (Irrelevant parts omitted)
[http_code] => 200
[header_size] => 229
[request_size] => 60
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[primary_port] => 80
[local_port] => 37146
[...]
Actual result:
--------------
[...]
[http_code] => 785979015368
[header_size] => 785979015397
[request_size] => 785979015228
[filetime] => 790273982463
[ssl_verify_result] => 785979015168
[redirect_count] => 785979015168
[primary_port] => 785979015248
[local_port] => 785979067059
[...]
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70065&edit=1