Bug ID: 63835
           Summary: Add support for Keep-Alive header
           Product: Tomcat 8
           Version: 8.5.x-trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Connectors
  Target Milestone: ----

There were numerous question on SO and Google in the past years why Tomcat does
not send "Keep-Alive: timeout=X, max=Y" just like HTTPd does. Though never made it in
to an RFC, a lot of clients read that timeout (like our Apache HttpClient) and
configure its connection pool or are simply unable to detect terminated
connection as described in RFC 7230 and need appropriate hints like this.

I have hit this with a client from a colleague written in C#, actually using a
WebServiceClient from .NET. No option to configure details like this.

Adding this header is quite easy since we can take the HTTPd code as a sample:

I have a prototype implementation ready. If this is accepted I am willing to
polish and add appropriate tests for it. I don't see any downsides adding this.

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to