Summary: | WebSocket connection terminated when server sends junk | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alex Christensen <achristensen> |
Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | dreiraeder.baum_0x, Justin, luryson, mwake, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 15 | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Alex Christensen
2021-09-29 09:37:35 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. 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 |