websocket closing / handle failure to flush send buffer as an error case
This commit is contained in:
1 parent
9e24475fd6
commit
00dc8bacee
1 file changed
+1
-1
@@ -720,7 +720,7 @@ namespace ix
|
||||
|
||||
// if an abnormal closure was raised in poll, and nothing else triggered a CLOSED state in
|
||||
// the received and processed data then close the connection
|
||||
if (pollResult == PollResult::AbnormalClose)
|
||||
if (pollResult != PollResult::Succeeded)
|
||||
{
|
||||
_rxbuf.clear();
|
||||
|
||||
|
||||
Reference in new issue
Block a user