hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: AW: No IOException when reading from ResponseBodyStream
Date Wed, 15 Dec 2010 20:30:28 GMT
On Wed, 2010-12-15 at 18:44 +0100, daniel.stucky@attensity.com wrote:
> Hi again,
> 
> I just donwloaded HttpCore 4.1 and created a small test sample to
> reproduce the problem described in my former mail.
> When using the InputStream provided by HttpResponse
> getEntity().getContent() I get, as expected, an IOException (in our case
> a org.apache.http.TruncatedChunkException) if the server crashes during
> reading from the Stream.
> 
> Is this a new feature introduced in HttpCore 4.x? 

Yes, it is.

> Does HttpClient 3.1
> not provide these exceptions when using streams ?
> 

Yes, it does not

Hope this helps

Oleg



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


Mime
View raw message