You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge 'Websocket server fixes' from Povilas Kanapickas
This PR fixes several issues in websocket frame parser. The most important one is that websocket parser didn't properly support partial packets. That is, the parser would fail if it received part of the websocket frame in one chunk of data and then received the rest of the frame separately.
The rest of fixes are general cleanups and fixes for bugs that can only be reproduced when using websocket parser in client mode (there will be more PRs in this area).
Unit tests have been added to better cover this area of the websocket parser.
The PR is best reviewed commit by commit.
Closes#2535
* https://github.com/scylladb/seastar:
websocket: Remove unnecessary condition in frame parsing
websocket: Fix logic when parsing header
websocket: Avoid memory copy when full websocket frames are received
websocket: Fix websocket frame parsing on partial packets
0 commit comments