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