Commit 3ea82470 authored by Carlos Garcia Campos's avatar Carlos Garcia Campos Committed by Claudio Saavedra

WebSockets: return after closing connection on error in process_frame

parent dbac8627
......@@ -834,6 +834,7 @@ process_frame (SoupWebsocketConnection *self)
/* We do not support extensions, reserved bits must be 0 */
if (header[0] & 0x70) {
protocol_error_and_close (self);
return FALSE;
}
switch (header[1] & 0x7f) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment