You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP has already added the support of SSL_OP_IGNORE_UNEXPECTED_EOF in the OpenSSL extension but the cURL extension may still have the issue of cURL error 56: OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0.
Considering the enormous usage of the PHP curl extension(guzzle/guzzle), maybe add the option in the cURL extension to make the behavior consistent between curl extension and file_get_contents() function.
The text was updated successfully, but these errors were encountered:
This makes some sense to me, and could likely be implemented, but given that cURL might not even use OpenSSL as back-end, I think this would more likely be a suitable option to implement upstream.
Description
PHP has already added the support of SSL_OP_IGNORE_UNEXPECTED_EOF in the OpenSSL extension but the cURL extension may still have the issue of
cURL error 56: OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0
.Considering the enormous usage of the PHP curl extension(guzzle/guzzle), maybe add the option in the cURL extension to make the behavior consistent between curl extension and
file_get_contents()
function.The text was updated successfully, but these errors were encountered: