Re: ManagedNHttpClientConnectionImpl Shutdown Vs. Close

2016-06-10 Thread Oleg Kalnichevski
On Fri, 2016-06-10 at 14:15 +, Poonam Chawla wrote: > Hello Oleg, > > > I am using Apache HttpAsycnClient 4.1 and I noticed that the > connections are not released on calling close. > Here is what I am trying to do: (Please note that it is not a > compileable code as I had to remove lines

Re: How to retrieve server ip of the connected connections

2016-06-10 Thread Oleg Kalnichevski
On Thu, 2016-06-09 at 19:40 +, Vicky Singh wrote: > > > I am using PoolingHttpClientConnectionManager to create connections. I would > like to get what IP address my connections resolve to. Is there a API that I > can use. > I need it for reporting and also to drop connections if I think

ManagedNHttpClientConnectionImpl Shutdown Vs. Close

2016-06-10 Thread Poonam Chawla
Hello Oleg, I am using Apache HttpAsycnClient 4.1 and I noticed that the connections are not released on calling close. Here is what I am trying to do: (Please note that it is not a compileable code as I had to remove lines that are internal to my company). - Create CloseableHttpAsyncClient