Re: TCP keepalive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Google Apache KeepAlive and you are done.

On May 16, 2012 2:58 PM, "Evgeny Shvidky" <evgeny@xxxxxxxxxxx> wrote:

Hi,

 

I am developing a new module on C.

 

In some cases, it takes to my module a long time to prepare a response (more than 2 minutes) and during this time a process handling this request is blocked.

In order to prevent a TCP connection disconnect a user sends his HTTP request with TCP keepalive flag on and also adds HTTP header "Connection: Keep-Alive".
But for some reason Apache doesn't sends back a response for TCP keepalive and it causes to TCP connection to disconnect.

TCP timeout is exactly 2 minutes.

I tried to call "ap_set_keepalive" function for current request but nothing happened.

 

How can I configure Apache to response to TCP keepalive flag?

 

Thanks,

Evgeny


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux