tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43663] New: - maxPostSize does not work in standard http connector implementation
Date Fri, 19 Oct 2007 20:51:28 GMT
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=43663>.
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=43663

           Summary: maxPostSize does not work in standard http connector
                    implementation
           Product: Tomcat 6
           Version: 6.0.14
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: andrejtrindade@hotmail.com


I'm using a standard http connector implementation. When I upload a file by 
posting a form, the default 2 MB limit is not enforced. Even setting 
maxPostSize="2097152" manually doesn't work. I can upload a 20 MB file and do 
not get any errors, the file is completely uploaded. I also tested this in 
Tomcat 5.5 in Windows and in Tomcat 6.0 in Linux with the same results. I do 
not know if there is any other way to avoid getting a huge request. I can 
disableUploadTimeout="false", but this may be bad for people with slow 
connections and do not give me byte precision control. I can also check the 
request size afterwards, but then time and space in the server have already 
been wasted.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message