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=42608>. 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=42608 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Additional Comments From [EMAIL PROTECTED] 2007-06-20 11:30 ------- Now I did some tests as well. I tested downloads and not uploads. Three test cases: a) size a little below 2^31 Bytes b) size a little above 2^31 Bytes c) size a little above 2^32 Bytes Platform Solaris 10 Sparc, Tomcat 5.5.24 candidate using Java APR connector, mod_jk 1.2.24-dev. All Apache builds 32 Bit binaries. Apache 1.3.37: a: OK, b: OK, but "0" as size in access log, c: OK, but size mod 2^ 32 in access log Apache 2.0.59: a: OK, b: OK, but negative size in access log, c: OK, but size mod 2^ 32 in access log Apache 2.2.4: a,b,c: OK, correct sizes in access log But: as soon as the size goes over 2^31, I don't get a Content-Length header back. I needed to fake a little: when I use static content Tomcat tries to load it into memory, so I used a little servlet to produce the download content on the fly. But the servlet API call to set the content length header only allows an int as the argument. I instead used the setHeader method for Content-Length. This works well below 2^31, but above the Tomcat AJP connector does not handle the header back to mod_jk. Nevertheless wget could retrieve the complete message, and I *think* Tomcat transparently switched to transfer encoding chunked. -- 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]
