[Webkit-unassigned] [Bug 82100] [WebSocket]Reserved bits test case should cover both extension and no-extension scenarios

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 29 19:39:53 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=82100





--- Comment #24 from Kenichi Ishibashi <bashi at chromium.org>  2012-03-29 19:39:52 PST ---
(In reply to comment #23)
> It sounds good. Can you provide some detailed information or example to do that?
> Thanks.

If the port doesn't support deflate-frame extension, the opening handshake should not contain "Sec-WebSocket-Extensions: deflate-frame". You can check it via request.headers_in in web_socket_do_extra_handshake(). If "comressed=true" and there is no deflate-frame extension header in the request, you may want to abort the handshake in similar way handshake-error_wsh.py does.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list