You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/08/20 11:31:52 UTC

DO NOT REPLY [Bug 22578] New: - file upload can be very slow

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22578>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22578

file upload can be very slow

           Summary: file upload can be very slow
           Product: Commons
           Version: 1.0 Beta 2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: File Upload
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: rwg@soton.ac.uk


very slow file uploads - massive performance boost by increasing 4096 to 
something much bigger eg * 100 or * 1000

Problem only occurs in some network locations - and only effects file upload - 
not other network operations.

FIX:

public class MultipartStream

    protected static final int DEFAULT_BUFSIZE = 4096;

This fix need not be done as the problem isn't common - but the information on 
what to do might help someone else !

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org