plugins/mod_websocket.lua
branch0.11
changeset 11115 55d8612ac357
parent 11114 67fb92e312f1
child 11117 10301c214f4e
--- a/plugins/mod_websocket.lua	Thu Sep 17 16:42:36 2020 +0100
+++ b/plugins/mod_websocket.lua	Mon Sep 28 16:36:12 2020 +0100
@@ -291,7 +291,7 @@
 			end
 			frameBuffer:discard(length);
 			local result = handle_frame(frame);
-			if not result then return; end
+			if not result then break; end
 			cache[#cache+1] = filter_open_close(result);
 			frame, length = parse_frame(frameBuffer);
 		end