Schannel: Don't emit error when peer performs graceful disconnection
Change-Id: Ie19a31fc61223d954badc704324adf4f5f7d361e Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit 3ff8629a0fbdf432086a47a1047d03ad457118c6)
This commit is contained in:
parent
cdbc83eab8
commit
6acfa08745
@ -1659,8 +1659,6 @@ void TlsCryptographSchannel::transmit()
|
|||||||
} else if (status == SEC_I_CONTEXT_EXPIRED) {
|
} else if (status == SEC_I_CONTEXT_EXPIRED) {
|
||||||
// 'remote' has initiated a shutdown
|
// 'remote' has initiated a shutdown
|
||||||
disconnectFromHost();
|
disconnectFromHost();
|
||||||
setErrorAndEmit(d, QAbstractSocket::RemoteHostClosedError,
|
|
||||||
schannelErrorToString(status));
|
|
||||||
break;
|
break;
|
||||||
} else if (status == SEC_I_RENEGOTIATE) {
|
} else if (status == SEC_I_RENEGOTIATE) {
|
||||||
// 'remote' wants to renegotiate
|
// 'remote' wants to renegotiate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user