1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/roles/ws/ext
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
..
extension-permessage-deflate.c Subject: [PATCH] Fix control messages are inflated 2019-01-13 07:32:11 +08:00
extension-permessage-deflate.h refactor role ops 2018-04-11 13:39:42 +08:00
extension.c clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00