hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37256] - MultipartEntity incorrectly computes unknown length
Date Tue, 08 Nov 2005 09:15:49 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=37256>.
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=37256


loic.peron@bigfoot.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From loic.peron@bigfoot.com  2005-11-08 10:15 -------
Hi all,

Thanks for your quick investigations. I did not intend to use this feature now,
but felt compelled to test your patch to show some gratitude ;)

However, I found the unknown length for Parts to need some more modifications,
especially in Part.length() calling Part.lengthOfData(), and
FilePart(PartSource) requiring the source.length() >= 0.

See attached patches for modification proposals.

I did test transferring a 150Mb file using a PartSource wrapping an InputStream,
to a test servlet using FileUpload 1.0 (patched to accept posts of unknown length).

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


Mime
View raw message