Oleg,
I've tested with 4.0.2 and got the same issue. I've submitted a bug
HTTPASYNC-82. I have checked Harold's recommendation and in our case we
always create new HttpContext per request
Regards,
Alex Oscherov
On Wed, Aug 13, 2014 at 7:16 AM, Harold Rosenberg <[email protected]>
wrote:
> At one point I was having this same issue. After some debugging I
> realized that I was reusing a HttpContext for multiple concurrent
> operations even though the HttpContext is not thread safe (see
> https://hc.apache.org/httpcomponents-core-4.3.x/httpcore/apidocs/org/apache
> /http/protocol/HttpContext.html). Once I fixed that problem I stopped
> getting the ConnectionShutdownException.
>
> Hal
>
> On 8/13/14, 3:42 AM, "Oleg Kalnichevski" <[email protected]> wrote:
>
> >On Tue, 2014-08-12 at 16:57 -0700, Alex Oscherov wrote:
> >> I periodically (approximately in 0.5% of the cases) experience problem
> >> working with async client connecting to IIS 7.5. The problem manifests
> >> itself in callback never returning (neither completed, failed or
> >>canceled
> >> methods get called). I've got some logging from one of such failures. It
> >> always ends with org.apache.http.impl.conn.ConnectionShutdownException.
> >>Any
> >> recommendations?
> >>
> >> Log is below.
> >> Thank you Alex Oscherov
> >
> >What version of HttpAsyncClient are you using? If it is anything below
> >4.0.2 please upgrade and re-test. If the problem persists with 4.0.2
> >please raise a JIRA for this issue and attach a session log to it.
> >
> >Oleg
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [email protected]
> >For additional commands, e-mail: [email protected]
> >
>
>