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
Sec-WebSocket-Protocol field received from client will contains a list of strings, not a single string. Currently, the server is doing single string comparison, not a list of strings comparison.
if the server agree to one of sub protocols offered by client, it must return that sub protocol name as value. Currently, the server only check if it support the sub protocol or not when constructing sub protocol response(Sec-WebSocket-Protocol field). The server must also check if that sub protocol is already agreed.
The text was updated successfully, but these errors were encountered:
according to https://datatracker.ietf.org/doc/html/rfc6455#section-4.2.2:
Sec-WebSocket-Protocol
field received from client will contains a list of strings, not a single string. Currently, the server is doing single string comparison, not a list of strings comparison.if the server agree to one of sub protocols offered by client, it must return that sub protocol name as value. Currently, the server only check if it support the sub protocol or not when constructing sub protocol response(
Sec-WebSocket-Protocol
field). The server must also check if that sub protocol is already agreed.The text was updated successfully, but these errors were encountered: