Commit 2e94b0c0 authored by Claudio Saavedra's avatar Claudio Saavedra

WebSockets: plug leak when payload exceds size limit

parent 9df6d700
Pipeline #109645 passed with stage
in 1 minute and 3 seconds
......@@ -505,6 +505,7 @@ send_message (SoupWebsocketConnection *self,
if (length > 125) {
g_warning ("WebSocket control message payload exceeds size limit");
protocol_error_and_close (self);
g_bytes_unref (filtered_bytes);
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