Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-335

@OnClose is called twice for normal websocket closures

    XMLWordPrintable

Details

      • Deploy a @ServerEndpoint with an @OnClose method.
      • Connect and disconnect a client.

    Description

      In my annotated server endpoint, the OnClose annotated method is called twice, in quick succession, for each normal physical endpoint close. The first close has reason 1001, the second has 1000.

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            mparker_polycom Matt Parker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: