qt6-bb10/src/network
Timur Pocheptsov 8ddffc6ba4 OpenSSL: handle SSL_shutdown's errors properly
Do not call SSL_shutdown on a session that is in handshake state (SSL_in_init(s)
returns 1). Also, do not call SSL_shutdown if a session encountered a fatal
error (SSL_ERROR_SYSCALL or SSL_ERROR_SSL was found before). If SSL_shutdown
was unsuccessful (returned code != 1), we have to clear the error(s) it queued.
Unfortunately, SSL_in_init was a macro in OpenSSL 1.0.x. We have to
resolve SSL_state to implement SSL_in_init.

Fixes: QTBUG-83450
Change-Id: I6326119f4e79605429263045ac20605c30dccca3
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit 8907635da5)
2020-04-16 11:26:04 +02:00
..
access QNAM: Correct logic of network monitor when bearer is disabled 2020-02-14 13:56:52 +01:00
bearer Short live qt_unique_lock/qt_scoped_lock! (until C++17) 2019-08-13 05:05:59 +00:00
doc Clarify Q{Abstract,Local}Socket::waitForDisconnected() documentation 2019-11-01 10:09:43 +03:00
kernel QNetConMonitor(Win): Account for LOCALNETWORK reachability 2020-02-14 13:56:52 +01:00
socket Fix a typo in QLocalSocket doc 2020-02-18 20:34:50 +03:00
ssl OpenSSL: handle SSL_shutdown's errors properly 2020-04-16 11:26:04 +02:00
configure.json Use prefixed ssl libs when "-openssl-linked" configure params is used 2020-01-07 14:23:06 +02:00
configure.pri configure: actually resolve libraries into full filepaths 2018-12-03 11:25:56 +00:00
network.pro Android: Fix plugins naming 2019-10-01 11:36:24 +03:00