websocket closing / handle failure to flush send buffer as an error case

This commit is contained in:
Benjamin Sergeant 2020-01-09 12:17:37 -08:00
parent 28952cb0b0
commit a844dbc587

View File

@ -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();