On Thu, 2008-03-13 at 16:44 -0400, Sam Berlin wrote:
> Oleg,
>
> NHttpClientHandler#timeout works well if you are expecting the
> connections to be reused. However, there are instances where you know
> ahead of time that you're done with that connection and want to clean
> up resources as fast a
Oleg,
NHttpClientHandler#timeout works well if you are expecting the
connections to be reused. However, there are instances where you know
ahead of time that you're done with that connection and want to clean
up resources as fast as possible.
[N]HttpRequestExecutionHandler.submitRequest & handleR
On Thu, 2008-03-13 at 15:36 -0400, Sam Berlin wrote:
> Is there a preferred way of closing a connection using the IOReactors
> & [N]HttpRequestExecutionHandlers? The only thing I can think of
> would be to close it in submitRequest or handleResponse. Is there
> another (better?) way of doing it?
Is there a preferred way of closing a connection using the IOReactors
& [N]HttpRequestExecutionHandlers? The only thing I can think of
would be to close it in submitRequest or handleResponse. Is there
another (better?) way of doing it?
Thanks,
Sam
--