NEW 230962
WebSocket connection terminated when server sends junk
https://bugs.webkit.org/show_bug.cgi?id=230962
Summary WebSocket connection terminated when server sends junk
Alex Christensen
Reported 2021-09-29 09:37:35 PDT
Go to https://libwebsockets.org/testserver/ Click "Send junk" Chrome and Firefox don't terminate, Safari does.
Attachments
Alexey Proskuryakov
Comment 1 2021-10-01 15:04:36 PDT
Alex Christensen
Comment 2 2021-10-01 16:59:34 PDT
When clicking the "Send junk" button it sends a text frame like 'aaaaaaaaaaaaaaaaa...' and in SocketStreamHandleImpl::readStreamCallback I get kCFStreamEventEndEncountered. The NSURLSession WebSocket implementation also terminates.
luryson
Comment 3 2022-01-20 03:13:04 PST
want to knows what happens from server side. can't reproduced
Lukas
Comment 4 2022-09-12 04:26:26 PDT
I can easily reproduce the behavior reported by Alex Christensen. Just go to https://libwebsockets.org/testserver/ and click "Send junk". This also has a real world implication as described here: https://apple.stackexchange.com/questions/430252/azure-devops-tfs-in-safari-keeps-asking-password
Note You need to log in before you can comment on or make changes to this bug.