Description of problem:
we are working with RHEL 5 in a customer's project. They have the Apache 2.2.3 package "httpd-2.2.3-31.el5" with mod_proxy_apr and tomcat 6.0.20 installed on RHEL x86_64 web servers. We now encountered a file upload problem similar to the following one:
At the end of the bug description it is mentioned that the bug has been fixed for all apache versions > 2.2.9 - so we tried that out and the issue was gone with Apache 2.2.14. I think that problem is not platform-dependent since we could also reproduce it on windows systems.
Version-Release number of selected component (if applicable):
use a servlet in tomcat 6.0.20, httpd and mod_proxy_apr and upload a .zip-file with 3 or 4 megabytes. The .zip file will be unreadable by the servlet because it is either bigger or smaller than the original file.
Steps to Reproduce:
1. Install tomcat 6.0.20, httpd-2.2.3-31.el5 with mod_proxy_apr
2. Handle file uploads (either with the com.oreilly classes or the apache file upload library)
3. Upload a large .zip file and compare the uploaded file with the original
4. Install httpd 2.2.14 with its mod_proxy_apr module and do the test again.
Thanks for the report. We can backport that patch.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.