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

RestEasy does not respect Keep-Alive header in HTTP requests, when using NettyHttpRequest.resume(Object entity).

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 3.0.16.Final
    • None
    • None

    Description

      Even if header contains "Connection: Keep-Alive", connection is closed. The reason why connection is closed, comes from call of nettyFlush(), where ctx.close() is called in finally block without verifying whether Keep-Alive should be respected or not. That's why async response will close connection, regardless Keep-Alive.

      Attachments

        Issue Links

          Activity

            People

              weli@redhat.com Weinan Li
              malmro Malgorzata Mrowka (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: