[php-src] Issue #10215: cURL: Support of SSL_OP_IGNORE_UNEXPECTED_EOF context option

From: Date: Wed, 04 Jan 2023 03:47:38 +0000
Subject: [php-src] Issue #10215: cURL: Support of SSL_OP_IGNORE_UNEXPECTED_EOF context option
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243324@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/10215 Author: walkonthemarz ### Description PHP has already [added the support of SSL_OP_IGNORE_UNEXPECTED_EOF in the OpenSSL extension](https://github.com/php/php-src/issues/8369) 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.

« previous php.bugs (#243324) next »