You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Albert Yu <al...@imtf.ie> on 2003/06/13 17:02:43 UTC

[PATCH]patch for supporting PUT very large size content (Resend)

(Resend)

Hi,

This patch fixed problems in
putMethod(String path, File file)
and
putMethod(String path, InputStream is)
when PUT very large size contents.

The old version tries to load the whole content into memory so as to purely get
the content length. That usually causes "Out Of Memory" problem if the content
is very large.

Best regards,

Albert

-----------------------------
Albert Yu
( Yu Yizhuan )
Software Engineer

email:  albert.yu@imtf.ie
phone:  +353 21 4910500
direct:  +353 21 4910503
fax: +353 21 4320589