Go to https://libwebsockets.org/testserver/
Click "Send junk"
Chrome and Firefox don't terminate, Safari does.
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