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

MacPorts noreply at macports.org
Fri May 3 08:13:36 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
Resolution:                   |   Keywords:  php curl
      Port:                   |
------------------------------+----------------------
Description changed by RonnieRocket147:

Old 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)\\

New 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\\
 curl 7.64.1\\
 macOS 10.14.4 (Mojave)\\

--

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


More information about the macports-tickets mailing list