hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Poonam Chawla <Poonam.Cha...@mathworks.com>
Subject RE: HttpAsyncRequestExecutor : HTTP protocol exception: null
Date Sun, 18 Oct 2015 18:09:28 GMT

Hi Oleg,

Thank you so much for a quick response. 

It seems like upgrading the HttpAsyncClient version to 4.1 requires upgrading all the other
jars as well. 
https://hc.apache.org/httpcomponents-asyncclient-dev/httpasyncclient/dependencies.html

Unfortunately, we are at a point in our development cycle where upgrading all the jars would
not be feasible. Is there any other way around this problem? Or a patch that we could apply?

Appreciate your help.
Poonam

-----Original Message-----
From: Oleg Kalnichevski [mailto:olegk@apache.org] 
Sent: Sunday, October 18, 2015 9:07 AM
To: HttpClient User Discussion <httpclient-users@hc.apache.org>
Subject: Re: HttpAsyncRequestExecutor : HTTP protocol exception: null

On Sun, 2015-10-18 at 01:24 +0000, Poonam Chawla wrote:
> Hello,
> 
> We are using HttpAsyncClient underneath our custom client object to send requests to
a production server. The client object might get closed while there are pending requests on
the server. If that happens, we would like to abort all the pending requests and shutdown
the httpasyncclient.
> 
> However, we are seeing a sporadic failure.

...

> For reference, I am using the following versions of HTTPComponents:
> HttpAsyncClient - 4.0-beta3.jar
> HttpClient - 4.2.2.jar
> HttpCore - 4.2.2.jar
> HttpCore-nio - 4.2.2.jar
> 
> Thanks,
> Poonam
> 

Please upgrade to HttpAsyncClient 4.1

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