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

@OnClose is called twice for normal websocket closures

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: