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

RestEasy-Netty4: Connection close header not being returned to the client

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.8.Final
    • Fix Version/s: 3.0.9.Final
    • Component/s: jaxrs
    • Labels:
      None

      Description

      When a request is made to a resteasy-netty4 endpoint with the "Connection:close" header, the response does not contain a "Connection:close header". This is causing the request that follows it to try and re-use the closed connection as the client has not closed the connection on its side. The 2nd request in this case fails.

      To reproduce:

      • Create a jmeter http request sampler with keep alive off
      • Send 10 requests from one user (thread)
      • Notice that every 2nd request fails

      Using wireshark it can be seen that a RST tcp packet is being sent from the server to the client on every second request.

      Pull request for a fix is attached.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bill.burke Bill Burke
                Reporter:
                patdunne Patrick Dunne
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: