>From the JIRA, looks like it is fixed in trunk and will be in the final release. When can I get access to it?
Allen On Fri, Sep 20, 2013 at 6:00 AM, Oleg Kalnichevski <[email protected]> wrote: > On Thu, 2013-09-19 at 15:04 -0700, Allen Wang wrote: > > Hello, > > > > I tried to set 2 seconds socket read timeout for HttpAsyncClient using > the > > following code: > > > > RequestConfig requestConfig = RequestConfig.custom() > > > > .setConnectTimeout(2000) > > > > .setSocketTimeout(2000) > > > > .build(); > > > > httpclient = > > HttpAsyncClients.custom().setDefaultRequestConfig(requestConfig).build(); > > > > httpclient.start(); > > > > Then I tried to hit a localhost REST point where it waits 10 seconds > before > > responding. However, I am not getting any exception on the FutureCallback > > listener I passed into the HttpAsyncClient(HttpUriRequest, > > FutureCallback<HttpResponse>) call. > > > > Allen, > > This must be the same issue as HTTPASYNC-55. I am working on a fix. > > https://issues.apache.org/jira/browse/HTTPASYNC-55 > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
