[php-src] Issue #8369: OpenSSL 3: Support of SSL_OP_IGNORE_UNEXPECTED_EOF context option
| From: | nrueckmann | Date: | Thu, 14 Apr 2022 09:02:58 +0000 |
| Subject: | [php-src] Issue #8369: OpenSSL 3: Support of SSL_OP_IGNORE_UNEXPECTED_EOF context option | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240949@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8369
Comment Author: nrueckmann
Example of an non-compliant server:
```
www-data@4e07da05c0ce:~/html$ php -r "echo file_get_contents('https://chromedriver.storage.googleapis.com/LATEST_RELEASE',
false, stream_context_create());"
PHP Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000126:SSL routines::unexpected eof while reading in Command line code on line 1
PHP Warning: file_get_contents(): SSL: Success in Command line code on line 1
```