[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
Mon Jan 10 13:01:06 PST 2022


--- Comment #43 from Chris Dumez <cdumez at apple.com> ---
Proper reproduction steps (since they were not clear to me initially):
1. Open https://libwebsockets.org/testserver/ and notice the counter is incrementing
2. Open Web Inspector and paste this code:
let socket = null
let iterations = 0
let intervalHandle = setInterval(function () {
  if (socket) {
  socket = new WebSocket("wss://libwebsockets.org/")
  iterations += 1

  if (iterations > 50) {
}, 25)
3. Open https://libwebsockets.org/testserver/ in a new tab and notice that the counter is not incrementing in this tab (because WebSocket fails to connect)

Note that after 1 minute or 2, the second tab does seem to recover and managers to connect. It looks to me like new connection requests are getting queued and something eventually times out, allowing the new requests to proceed.

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/20220110/44681ee2/attachment.htm>

More information about the webkit-unassigned mailing list