summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2015-07-13 05:40:22 -0700
committerJeremy Lainé <jeremy.laine@m4x.org>2015-07-13 20:15:01 +0000
commit3ebbd5db7b96b8759119f7811bb40f5e1de45d0f (patch)
tree1e7d752585baa206e36c0e59b6e362d1a1c3ad2d /examples
parentc9dd554ea600f5a3c23053a507c2ef1e4c124f4e (diff)
ssl: fix SecureTransport handling of remote host disconnect
Currently when the remote server disconnects gracefully (for example upon returning an HTTP request with Connection: close) the call to SSLRead will return errSSLCloseGraceful which is incorrectly reported as QAbstractSocket::SslInternalError. This patch aligns the behavior with that of the OpenSSL backend and instead reports QAbstractSocket::RemoteHostClosedError. Change-Id: I8c6679280ac0c6fbd71d5f0d29b25f692eca5b24 Task-number: QTBUG-47154 Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions