httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] TCP keepalive
Date Wed, 16 May 2012 05:50:56 GMT
Google Apache KeepAlive and you are done.
 On May 16, 2012 2:58 PM, "Evgeny Shvidky" <evgeny@inovvia.com> 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****
>

Mime
View raw message