consider socket close as local, remote only when receiving reason from remote

This commit is contained in:
Alexandre Konieczny 2019-04-26 11:26:54 +02:00
parent 6beecc0aa8
commit 3ea7dbb637

View File

@ -602,7 +602,7 @@ namespace ix
if (_readyState != CLOSED) if (_readyState != CLOSED)
{ {
closeSocketAndSwitchToClosedState(kAbnormalCloseCode, kAbnormalCloseMessage, 0, true); closeSocketAndSwitchToClosedState(kAbnormalCloseCode, kAbnormalCloseMessage, 0, false);
} }
} }
} }