Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-694

Graceful shutdown doesn't work with WebSockets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.0.0.DR9
    • 7.0.0.DR8
    • Undertow
    • None
    • Hide
      1. start EAP
      2. deploy websocket app which processes message for longer period of time (e.g. 60 s)
      3. Initiate websocket session and send some message
      4. In the meantime of websocket message being processed call :shutdown(65)
        • this should make forbid sending new messages, still allow the message which is already being processed to finish
      5. server is shut down before the message is fully processed.
      Show
      start EAP deploy websocket app which processes message for longer period of time (e.g. 60 s) Initiate websocket session and send some message In the meantime of websocket message being processed call :shutdown(65) this should make forbid sending new messages, still allow the message which is already being processed to finish server is shut down before the message is fully processed.

      When sending websocket message, which is being processed for a longer time on server side and calling graceful shutdown, it doesn't wait for the message already being processed to be finished.

            sdouglas1@redhat.com Stuart Douglas
            rhatlapa@redhat.com Radim Hatlapatka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: