-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed
Description
Description
OpenSSL became more strict about unexpected EOF (not sending close notify) in 1.1.1e but reverted that change in 1.1.1f due to the huge amount of non-compliant servers. With the new major release 3.0.0 it came back. See openssl/openssl#11378 for more details.
Unfortunately, the situation of non-compliant servers did not change. And with OpenSSL 3 being the default version of Ubuntu 22.04 (and other distributions) the issue will raise more frequently.
I propose to add a new SSL context option ignore_unexpected_eof
to set the SSL_OP_IGNORE_UNEXPECTED_EOF bit.
Documentation: https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_options.html#SSL_OP_IGNORE_UNEXPECTED_EOF
kocoten1992, randohinn, maiks1986, pieterza, garak and 2 more