https://bz.apache.org/bugzilla/show_bug.cgi?id=63835
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
Assignee: [email protected]
Reporter: [email protected]
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
https://tools.ietf.org/html/draft-thomson-hybi-http-timeout-03 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:
https://github.com/apache/httpd/blob/2.4.x/modules/http/http_protocol.c#L217-L299
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: [email protected]
For additional commands, e-mail: [email protected]