Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Parsing error when ws sub-protocol contains '.' characters. #1467
Parsing of a web socket sub-protocol appears incorrect if the sub-protocol contains '.' characters. Example: "v2.bookings.example.net"
This is repeatable with libwebsockets 3.1.0.
See lib/roles/server-ws.c, within lws_process_ws_upgrade(), when selecting the protocol, the call to lws_tokenize_init() should probably be: