websocket-spec
  1. websocket-spec
  2. WEBSOCKET_SPEC-160

Clarify ClodeCodes that are not meant to sent over wire

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      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

        Issue Links

          Activity

          djiao created issue -
          Pavel Bucek made changes -
          Field Original Value New Value
          Link This issue blocks TYRUS-121 [ TYRUS-121 ]
          Hide
          dannycoward added a comment -

          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

          Show
          dannycoward added a comment - 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
          dannycoward made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee dannycoward [ dannycoward ]
          Tags proposedfinaldraft
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              dannycoward
              Reporter:
              djiao
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: