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:ol...@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-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org