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:
Eric Holmberg <eric.holmberg@northriversystems.co.nz>
Loading
Please sign in to comment