1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/roles/ws
Guillaume Burel 4319ffe588 Subject: [PATCH] Fix control messages are inflated
RFC7692 states that control messages should not be compressed so there is no
need to inflate these messages.

There can be a bug if a control message is received while processing a
compressed message since lws relies on the RSV bit of the first message to
inflate the rx buffer or not.
Here we also check the opcode to only inflate a message if it is a data message.

Fixes: #1470
2019-01-13 07:32:11 +08:00
..
ext Subject: [PATCH] Fix control messages are inflated 2019-01-13 07:32:11 +08:00
client-parser-ws.c clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
client-ws.c clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
ops-ws.c role: raw-proxy 2018-12-01 11:05:59 +08:00
private.h refactor: core code in lib/core and private-libwebsockets.h to core/private.h 2018-05-03 10:49:36 +08:00
server-ws.c plugin: lws deaddrop 2018-11-28 15:06:10 +08:00