consider socket close as local, remote only when receiving reason from remote
This commit is contained in:
parent
6beecc0aa8
commit
3ea7dbb637
@ -602,7 +602,7 @@ namespace ix
|
||||
|
||||
if (_readyState != CLOSED)
|
||||
{
|
||||
closeSocketAndSwitchToClosedState(kAbnormalCloseCode, kAbnormalCloseMessage, 0, true);
|
||||
closeSocketAndSwitchToClosedState(kAbnormalCloseCode, kAbnormalCloseMessage, 0, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user