Go to https://libwebsockets.org/testserver/ Click "Send junk" Chrome and Firefox don't terminate, Safari does.
rdar://82529327
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.
want to knows what happens from server side. can't reproduced
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