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 Apache
DefaultHttpClient to make connection be alive for a long time (Not c
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 that
w to set SO_KEEPALIVE parameter in new
versions of Apache HC?
Thanks,
Baratali Izmailov.
On 12 May 2016 at 09:53, Oleg Kalnichevski wrote:
> On Thu, 2016-05-12 at 09:23 +0100, Baratali Izmailov wrote:
> > Hello. Thanks for the quick response.
> >
> > > Is there any way you
if I
set timeouts on OS level (in Linux):
sudo sysctl -w net.ipv4.tcp_keepalive_time=60
sudo sysctl -w net.ipv4.tcp_keepalive_intvl=60
sudo sysctl -w net.ipv4.tcp_keepalive_probes=10
With such configs the server sends TCP KeepAlive packets every 60 seconds.
Thanks,
Baratali Izmailov.
On 12 May
tion-have-a-keep-alive/33927447#33927447
Thanks,
Baratali Izmailov.
On 18 May 2016 at 20:19, wrote:
> How do you know the keepalive packets have not been sent? Did you run a
> tcpdump?
>
> The socket API (java and apache) traditionally does not support to
> configure the keepalive