Skip to content
Commit 84d3cafb authored by Eric Holmberg's avatar Eric Holmberg Committed by Benjamin Cabé
Browse files

net: websocket: fix masked data when server sends close



When sending the close command as a server, the data is incorrectly
masked which violates RFC6455 section 5.1.

Use the is_client flag to avoid masking if the close is for a websocket
server.

Signed-off-by: default avatarEric Holmberg <eric.holmberg@northriversystems.co.nz>
parent 00ffb5ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment