[Webkit-unassigned] [Bug 228296] REGRESSION (iOS 15): Websocket connection instance in javascript client getting closed
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 16 09:34:02 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=228296
Alberto Fernández-Capel <alberto at hey.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alberto at hey.com
--- Comment #34 from Alberto Fernández-Capel <alberto at hey.com> ---
I've been to able to consistently reproduce a NSURLSession crash on Safari with this POC code.
https://gist.github.com/afcapel/4e1012bd658f6818e70115178edd3489
The error only happens if these conditions are met:
* The NSURLSession is enabled
* The permessage-deflate websocket extension is enabled
* The message is big enough that the server splits it in different frames (this depends on the server implementation so it's difficult to pinpoint when exactly will happen)
The culprit seems to be that Safari is compressing the frame, instead of the whole message.
--
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/20211216/0edb7c38/attachment.htm>
More information about the webkit-unassigned
mailing list