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