Schannel: Don't emit error when peer performs graceful disconnection
Pick-to: 6.5 6.4 Change-Id: Ie19a31fc61223d954badc704324adf4f5f7d361e Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
b13405bb34
commit
3ff8629a0f
@ -1656,8 +1656,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