Opened 6 years ago

Last modified 6 years ago

#58433 assigned defect

PHP curl outputs "* Closing connection 0" — at Version 1

Reported by: RonnieRocket147 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: php72-curl php71-curl

Description (last modified by RonnieRocket147)

When enabling CURLINFO_HEADER_OUT a line of output is emitted to stdout: * Closing connection 0

$ch = curl_init('https://www.google.com/');
curl_setopt_array(
    $ch,
    array(
        \CURLINFO_HEADER_OUT => true,
        \CURLOPT_RETURNTRANSFER => true
    )
);
curl_exec($ch);
curl_close($ch);

MacPorts 2.5.4
PHP 7.1.27 + 7.2.16
curl 7.64.1
macOS 10.14.4 (Mojave)

Change History (1)

comment:1 Changed 6 years ago by RonnieRocket147

Description: modified (diff)
Note: See TracTickets for help on using tickets.