Opened 6 years ago

Last modified 6 years ago

#58433 assigned defect

PHP curl outputs "* Closing connection 0"

Reported by: RonnieRocket147 Owned by: ryandesign (Ryan Carsten Schmidt)
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 (3)

comment:1 Changed 6 years ago by RonnieRocket147

Description: modified (diff)

comment:2 Changed 6 years ago by jmroot (Joshua Root)

Keywords: php curl removed
Owner: set to ryandesign
Port: php72-curl php71-curl added
Status: newassigned

comment:3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

We're not doing anything special in MacPorts that should cause this, so please report it to the developers of that software.

Note: See TracTickets for help on using tickets.