diff options
| author | 2026-02-14 10:07:02 +0100 | |
|---|---|---|
| committer | 2026-02-14 10:07:02 +0100 | |
| commit | 1ce98bb4fc6beb5934fd7057511d8b79e88563a6 (patch) | |
| tree | a9610c020b5ab41a61ce5ee5efe6554bcdaac536 | |
| parent | Add a spellchecker backend based on windows >=8 integrated spellchecker (#2743) (diff) | |
| download | KVIrc-1ce98bb4fc6beb5934fd7057511d8b79e88563a6.tar.gz KVIrc-1ce98bb4fc6beb5934fd7057511d8b79e88563a6.tar.bz2 KVIrc-1ce98bb4fc6beb5934fd7057511d8b79e88563a6.zip | |
KviSSL: add SSL_OP_IGNORE_UNEXPECTED_EOF option to avoid "unexpected eof while reading" errors on SDCC completion. The remote peer may close down the connection without sending the mandatory close_notify alert on shutdown. Since OpenSSL3 this reports an SSL error, but since we can already detect if the transfer has been truncated, just restore the previous behavior and ignore the error. (#2751)
| -rw-r--r-- | src/kvilib/net/KviSSL.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kvilib/net/KviSSL.cpp b/src/kvilib/net/KviSSL.cpp index 40bdfe925..1adaf7e28 100644 --- a/src/kvilib/net/KviSSL.cpp +++ b/src/kvilib/net/KviSSL.cpp @@ -392,6 +392,9 @@ bool KviSSL::initContext(Method m) #ifdef SSL_OP_SINGLE_ECDH_USE |SSL_OP_SINGLE_ECDH_USE #endif +#ifdef SSL_OP_IGNORE_UNEXPECTED_EOF + |SSL_OP_IGNORE_UNEXPECTED_EOF +#endif ); // we want all ciphers to be available here, except insecure ones, orderer by strength; SSL_CTX_set_cipher_list(m_pSSLCtx, "ALL:!eNULL:!LOW:!EXP:!SSLv2:!SSLv3:!TLSv1:@STRENGTH"); |
