Re: Apache HttpClient TCP Keep-Alive (socket keep-alive)

2016-05-19 Thread Baratali Izmailov
bernd.eckenfels.net > > -Original Message- > From: Baratali Izmailov <baratal...@gmail.com> > To: HttpClient User Discussion <httpclient-users@hc.apache.org> > Sent: Mi., 18 Mai 2016 12:37 > Subject: Re: Apache HttpClient TCP Keep-Alive (socket keep-alive) &g

Re: Apache HttpClient TCP Keep-Alive (socket keep-alive)

2016-05-18 Thread ecki
2:37 Subject: Re: Apache HttpClient TCP Keep-Alive (socket keep-alive) Thank you. I updated Apache HttpClient version as you described. However, it didn't help, TCP KeepAlive packets were not sent between client and server. If correctly understand, the problem is that I cannot edit TCP KeepA

Re: Apache HttpClient TCP Keep-Alive (socket keep-alive)

2016-05-18 Thread Baratali Izmailov
Thank you. I updated Apache HttpClient version as you described. However, it didn't help, TCP KeepAlive packets were not sent between client and server. If correctly understand, the problem is that I cannot edit TCP KeepAlive timouts in HttpClient or even in Apache httpd server. It works only if I

Re: Apache HttpClient TCP Keep-Alive (socket keep-alive)

2016-05-12 Thread Oleg Kalnichevski
On Thu, 2016-05-12 at 13:46 +0100, Baratali Izmailov wrote: > > Please consider upgrading. I am not entirely sure if HC 4.2 supports TCP > > keepalive > setting. > > Unfortunately, to upgrade HC we need to upgrade Spring to the latest > version which requires Java 8. But, we cannot force our

Re: Apache HttpClient TCP Keep-Alive (socket keep-alive)

2016-05-12 Thread Baratali Izmailov
> Please consider upgrading. I am not entirely sure if HC 4.2 supports TCP > keepalive setting. Unfortunately, to upgrade HC we need to upgrade Spring to the latest version which requires Java 8. But, we cannot force our clients to use Java 8 yet. However, I don't see SO_KEEPALIVE parameter in

Re: Apache HttpClient TCP Keep-Alive (socket keep-alive)

2016-05-12 Thread Oleg Kalnichevski
On Thu, 2016-05-12 at 09:23 +0100, Baratali Izmailov wrote: > Hello. Thanks for the quick response. > > > Is there any way you can turn this into 2 requests? > For now we cannot split this into 2 HTTP requests, because we have to > change client-server protocol communication and re-implement some

Re: Apache HttpClient TCP Keep-Alive (socket keep-alive)

2016-05-12 Thread Baratali Izmailov
Hello. Thanks for the quick response. > Is there any way you can turn this into 2 requests? For now we cannot split this into 2 HTTP requests, because we have to change client-server protocol communication and re-implement some parts of our application, which will take much time. I understand

Re: Apache HttpClient TCP Keep-Alive (socket keep-alive)

2016-05-11 Thread ecki
i 2016 18:46 Subject: Re: Apache HttpClient TCP Keep-Alive (socket keep-alive) On Wed, 2016-05-11 at 15:52 +0100, Baratali Izmailov wrote: > Hello, > > I have http request that takes too much time to be processed by the server > (about 5 minutes). Because connection becomes idle for 5

Re: Apache HttpClient TCP Keep-Alive (socket keep-alive)

2016-05-11 Thread Oleg Kalnichevski
On Wed, 2016-05-11 at 15:52 +0100, Baratali Izmailov wrote: > Hello, > > I have http request that takes too much time to be processed by the server > (about 5 minutes). Because connection becomes idle for 5 minutes, proxy > server shutdowns the connection. I'm trying to use TCP Keep-Alive in

Re: Apache HttpClient TCP Keep-Alive (socket keep-alive)

2016-05-11 Thread Dan Quaroni
Is there any way you can turn this into 2 requests? 1 to kick off the long process which stores the results somewhere, and 1 to poll for the results to get them when they're available? On Wed, May 11, 2016 at 10:52 AM, Baratali Izmailov wrote: > Hello, > > I have http