https://issues.apache.org/bugzilla/show_bug.cgi?id=56935

            Bug ID: 56935
           Summary: TIMEOUT used instead of KeepAliveTimeout when header
                    "connection : keep-alive" is not used
           Product: Apache httpd-2
           Version: 2.4.4
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: [email protected]
          Reporter: [email protected]

I use a special client (a proxy may have such behavior also) that handles
HTTP/1.1 persistent connection. I use the default configuration on Apache 2.4.4

It does not use the dedicated header "connection : keep-alive". As a
consequence, by default the persistent connection is used. My client also keeps
the TCP connection alive by using TCP keep-alive. I notice that the server
never closes the TCP connection after 5s of HTTP inactivity (KeepAliveTimeout).
I have to wait the 300s timeout (key TIMEOUT). 

According to the Apache documentations it seems that this connection should
have close after no KeepAliveTimeout of HTTP Activity. I believe that the
server considers the TCP Keepalive packet as HTTP message and then waits
TIMEOUT instead. Thus it gives an easy scheme to consume Apache resources.  

For information my TCP keepalive are quite basic : only One byte of data set to
0.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to