DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40317>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40317 Summary: mod_jk, mixed up response if request contains http status 304 - resources with Content-Length > 0 Product: Tomcat 5 Version: 5.0.28 Platform: All OS/Version: Linux Status: NEW Severity: minor Priority: P4 Component: Native:JK AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] tested with (mod_jk/1.2.18 and 1.2.15) if you request a html page through mod_jk with additional image resources(also via mod_jk) and some of these resources respond with a 304 WITH a content body length > 0 (by mistake) you frequently get wrong results, e.g. - some byte fragments from a image resources, displayed before the <HTML> section - image resources are replaced by other image resources from the same stream... mod_jk example output (wrong content length): 1 2006][29127:19376] [debug] ajp_unmarshal_response::jk_ajp_common.c (621): status = 304 [Wed Aug 23 17:36:11 2006][29127:19376] [debug] ajp_unmarshal_response::jk_ajp_common.c (628): Number of headers is = 2 [Wed Aug 23 17:36:11 2006][29127:19376] [debug] ajp_unmarshal_response::jk_ajp_common.c (684): Header[0] [Content-Type] = [image/jpeg] [Wed Aug 23 17:36:11 2006][29127:19376] [debug] ajp_unmarshal_response::jk_ajp_common.c (684): Header[1] [Content-Length] = [6008] -> status 304 resources with content-length > 0 should be logged as error (at least) or content should be cut? see http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html ("The 304 response MUST NOT contain a message-body...") thanks -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]