microsoft / php-sdk-binary-tools

Tool kit for building PHP under Windows
BSD 2-Clause "Simplified" License
270 stars 79 forks source link

PGO initialization fails on MariaDB download #69

Closed cmb69 closed 3 years ago

cmb69 commented 4 years ago

When phpsdk_pgo --init attempts to download the MariaDB archive, it fails. Relevant output when CURLOPT_VERBOSE is enabled:

*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Failed sending HTTP request

I have not been able to reproduce this failure with a small standalone script. Some global state might not be properly reset; perhaps a bug in PHP?

weltling commented 4 years ago

If curl is involved, it might be the issue. AFAIR there was recently some issues with HTTP2 which was fixed in 7.69.1.

Thanks.

cmb69 commented 4 years ago

Thanks! I've just checked with PHP 7.4.5RC1 which has libcurl 7.69.1, but the download still fails.

dalehhirt commented 3 years ago

Closing as fixed.