[WEBSOCKET_SPEC-160] Clarify ClodeCodes that are not meant to sent over wire Created: 05/Mar/13 Updated: 06/Mar/13 Resolved: 06/Mar/13
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Not all CloseCode are meant to sent over wire. For example, 1006. It is used to indicate to Endpoint that close is initiated locally, not remotely. Does spec want to clarify further on how RI should behavior?
Related RI issue has Jitu's comment: http://java.net/jira/browse/TYRUS-121
|Comment by dannycoward [ 06/Mar/13 ]|
Which close codes can and can't be sent in a websocket close frame is defined in RFC 6455. I have highlighed the link and that it defines further semantics in the javadoc for CloseReason