[MacPorts] #58433: PHP curl outputs "* Closing connection 0"

MacPorts noreply at macports.org
Fri May 3 08:12:39 UTC 2019


#58433: PHP curl outputs "* Closing connection 0"
-----------------------------+--------------------
 Reporter:  RonnieRocket147  |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.5.4
 Keywords:  php curl         |       Port:
-----------------------------+--------------------
 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)\\

-- 
Ticket URL: <https://trac.macports.org/ticket/58433>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list