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: Timeout on request with AsyncClient?
Date Sat, 02 Jan 2016 17:12:09 GMT
On Fri, 2016-01-01 at 16:04 -0500, Benson Margulies wrote:
> I've spent some time reading the code, and I'm stumped as to how to
> arrange for a timeout on getting a response back with the async
> client. I see how to configure the connect timeout with RequestConfig.
> I'm on 4.4.1. I'm using callbacks, not the returned futures, so it
> would be some coding to make my own arrangements.

Hi Benson
Should not RequestConfig#socketTimeout be what you want?


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

View raw message