https://issues.apache.org/bugzilla/show_bug.cgi?id=50275
Summary: Mod_JK does not set chunk size for response with chunked transfer encoding Product: Tomcat Connectors Version: 1.2.27 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: mod_jk AssignedTo: dev@tomcat.apache.org ReportedBy: andre.piw...@pacificorp.com Mod_JK does not handle correctly the case when Transfer-Encoding header is set to chunked on HTTP response returned from Tomcat via AJP. Transfer-Encoding is set on HttpServletResponse and no Content-Length header is set. In this scenario Mod_JK returns response to client with Transfer-Encoding set to chunked, but it fails to set chunk-size before the body. When the same response is returned with no Transfer-Encoding and no Content-Length set, Mod_JK sets Transfer-Encoding to chunked, sets the chunk size and returns response to the client. Transfer-Encoding is a hop-to-hop header and does not have to be set on the response from Mod_JK to client, but when it is I would expect Mod_JK set the chunk size. Server Apache/2.2.11 (Win32) mod_ssl/2.2.11 OpenSSL/0.9.8i mod_jk/1.2.27 Apache Tomcat 5.5.30 using AJP/1.3. Also, happens on SunOS and with other versions of Tomcat and with Apache 2.2.14. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org