Closed
Bug 710964
Opened 13 years ago
Closed 13 years ago
No longer dispatch incoming WebSocket messages in CLOSING state
Categories
(Core :: Networking: WebSockets, defect)
Core
Networking: WebSockets
Tracking
()
RESOLVED
FIXED
mozilla11
People
(Reporter: jduell.mcbugs, Assigned: jduell.mcbugs)
References
Details
(Keywords: dev-doc-needed)
Attachments
(1 file)
(deleted),
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
The latest (W3C Candidate Recommendation 08 December 2011) websocket spec changed message dispatch behavior: a websocket must no longer dispatch incoming messages once it is in the CLOSING state (see section 5, "When a WebSocket message has been received", bullet point 1).
This fix is quite simple: just check for OPEN state during dispatch.
I've verified that the test fails w/o the patch, and succeeds with it.
Attachment #581872 -
Flags: review?(bugs)
Updated•13 years ago
|
Attachment #581872 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 1•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → jduell.mcbugs
Updated•13 years ago
|
Keywords: dev-doc-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•