tyrus
  1. tyrus
  2. TYRUS-13

No error report reported if subprotocol not supported

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: None
    • Labels:
      None

      Description

      An endpoint is created as:

      @WebSocketEndpoint(path="/endpoint", subprotocols="myProtocol")

      and the client initiates the connection as

      var websocket = new WebSocket(wsUri, "myProtocol2");

      The WebSocket on the client is correctly not initialized. But no error is thrown on the server-side to indicate what went wrong.

      The app is deployed on GlassFish build 57.

        Activity

          People

          • Assignee:
            Pavel Bucek
            Reporter:
            arungupta
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: