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

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

      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.

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

              Created:
              Updated:
              Resolved: