Opened 5 years ago

Last modified 5 years ago

#58433 assigned defect

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

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

Description

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
macOS 10.14.4 (Mojave)

Change History (0)

Note: See TracTickets for help on using tickets.