I want to start an async GET request for a big file. Then, at some point, while
the content is still being received, I would like to cancel the request from
another thread and close all relevant resources.
I tried to achieve this behaviour by implementing AsyncByteConsumer and doing
something
On Mon, 2014-02-17 at 11:23 +0200, Yoram Dayagi (Gmail) wrote:
I want to start an async GET request for a big file. Then, at some point,
while the content is still being received, I would like to cancel the request
from another thread and close all relevant resources.
I tried to achieve
Hi
Below is the log of the following scenario:
1. Create an async client with MaxConnPerRoute=1
2. Start a request
3. Wait for 100ms and shutdown the channel (using ioctrl.shutdown)
4. Wait for 2000ms and start another request for same url
2014/02/17 12:34:15:587 IST [DEBUG]
On Mon, 2014-02-17 at 12:40 +0200, Yoram Dayagi (Gmail) wrote:
Hi
Below is the log of the following scenario:
1. Create an async client with MaxConnPerRoute=1
2. Start a request
3. Wait for 100ms and shutdown the channel (using ioctrl.shutdown)
4. Wait for 2000ms and start another request
Hi
I would like to use HttpAsyncClient in order to execute async requests.
Is it possible to abort an executing request from another thread?
Thanks,
--
Yoram Dayagi (Gmail)
Sent with Airmail