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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.9.Final
    • 3.0.8.Final
    • jaxrs
    • None

      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.

              patriot1burke@gmail.com Bill Burke (Inactive)
              patdunne Patrick Dunne (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: