Misleading status code if long-polling requests are rejected due to server shutdown

XMLWordPrintable

      Steps to reproduce

      1. There exist pending long-polling requests which haven't been completed yet
      2. The application server is shutdown

      Observed behavior
      The responses of the previously pending long-polling requests are returned with status code 400.

      Expected behavior

      • Status code 400 stands for Bad Request which is misleading as a server shutdown is not a matter of a wrong request
      • The request should either be cancelled or the status code should be more meaningful

            Assignee:
            Unassigned
            Reporter:
            Tassilo Weidner-Mühl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: