From 188b2b37c0118f9a2aa0bc1e00091ad68e81c01f Mon Sep 17 00:00:00 2001 From: roxma Date: Thu, 4 Jan 2018 17:54:55 +0800 Subject: [PATCH] websocket: fix connection pending when receved more than one fragment --- include/crow/websocket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/crow/websocket.h b/include/crow/websocket.h index 58b9a7eed..d9910abbf 100644 --- a/include/crow/websocket.h +++ b/include/crow/websocket.h @@ -347,8 +347,8 @@ namespace crow { handle_fragment(); state_ = WebSocketReadState::MiniHeader; - do_read(); } + do_read(); } else {