Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-753

Async timeout returns a 200 instead of 503 http response code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.3.4.Final
    • Fix Version/s: 2.3.5.Final
    • Component/s: None
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Steps to Reproduce:
      1. Run the war file, ROOT.war
      2. Connect to http://localhost:8080/timeout200
      3. Wait for timeout, server returns 200 instead of 408
      NOTE: tomcat has a 10sec default timeout, and Jetty has a 30sec timeout.

      Show
      Steps to Reproduce: 1. Run the war file, ROOT.war 2. Connect to http://localhost:8080/timeout200 3. Wait for timeout, server returns 200 instead of 408 NOTE: tomcat has a 10sec default timeout, and Jetty has a 30sec timeout.

      Description

      While waiting for a HTTP response, the server times out and returns a 200 instead of 408 http response code.

        Attachments

        1. AsyncController.java
          2 kB
        2. ROOT.war
          5.67 MB

          Issue Links

            Activity

              People

              Assignee:
              ron_sigal Ronald Sigal
              Reporter:
              mvanwely Matt Van Wely (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified