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.