[Webkit-unassigned] [Bug 158345] [websocket] does not send client certificate

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 14 05:11:46 PDT 2020


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

Dirkjan Bussink <d.bussink at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d.bussink at gmail.com

--- Comment #15 from Dirkjan Bussink <d.bussink at gmail.com> ---
> There is ongoing work to use NSURLSession WebSocket API instead of the internal WebSocket implementation. This should hopefully fix this issue.

We found that if this feature is enabled on the Big Sur or iOS 14 betas, it breaks websockets in a problematic way. In these new betas, support was added for per message deflate on a websocket connection but the implementation for that is broken it looks like.

https://github.com/dbussink/big-sur-websocket-bug contains a standalone Swift reproduction for this plus some network captures of the broken behavior. Tl;dr, if a websocket server doesn't support compression, the client enables it nonetheless which is a protocol violation.

If the server does accept compression, the client still ends up in an invalid state on messages sent to the server after the first one (slightly different behavior if context takeover is enabled vs. not). 

I've also reported this at https://feedbackassistant.apple.com/feedback/7970295 but not sure if there's a better channel for it then.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200714/09feac37/attachment.htm>


More information about the webkit-unassigned mailing list