hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Manning <Robert.Mann...@collabraspace.com>
Subject Re: Slow to upload a huge file
Date Wed, 18 Jan 2006 14:01:36 GMT
Roland Weber wrote:

>Last time I checked, HttpURLConnection would always
>buffer the request body in memory, to determine the
>content length before sending. But that may have
>changed with JDK 1.5. Which JDK are you using?
>  
>
Roland,

You are correct, in that there is no support for Chunked transfer encoding
prior to 1.5.  I remember it well because it's the reason we switched to
HttpClient :)  Prior to 1.5, they read the entire InputStream into memory
to determine the content length. 

Rob

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


Mime
View raw message