Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-2161

HTTP/1.x server connection hangs if client disconnects during response message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.16.0
    • 1.17.0
    • Protocol Adaptors

    Description

      While running a single-router configuration against the wrk HTTP load generator, if the HTTP client drops the connection before the server has completed the response then the server becomes unreachable.  In other words the connection to the HTTP server becomes blocked indefinitely and requires a restart of the connection to recover.

      To reproduce use the nginx/wrk 1 router configuration from:

      https://github.com/kgiusti/dispatch-tester/tree/master/benchmarks/test-configurations/http1-perf

       

      Run the wrk test for a short period with a large response message:

       

      wrk -c 2 -t 2 -d4s http://127.0.0.1:8000/t1M.html

       

      Attachments

        Issue Links

          Activity

            People

              kgiusti Ken Giusti
              kgiusti Ken Giusti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: