DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12783>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12783 Coyote Connector and HTTP 1.0 Keep-Alive [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[EMAIL PROTECTED] Status|RESOLVED |REOPENED Resolution|INVALID | Version|4.0.4 Final |4.1.12 ------- Additional Comments From [EMAIL PROTECTED] 2002-10-02 09:00 ------- This is happening me with the coyote connector in Tomcat 4.1.12 Using a HTTP/1.0 client to POST a request using Keep-Alive, tomcat fails to send the Connection: Keep-Alive header back to the client, although it does indeed keep the connection open. While it is correct behavior for HTTP/1.1 to omit the keep-alive response header, it is incorrect under HTTP/1.0 Changing the following in coyote's Http11Processor.java fixes it: old: if (!keepAlive) { response.addHeader("Connection", "close"); } new: if (!keepAlive) { response.addHeader("Connection", "close"); } else if (!http11) { response.addHeader("Connection", "Keep-Alive"); } --ctwomey -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>