You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2016/03/07 17:27:28 UTC

[Bug 59136] New: Timeout not working properly when no info is sent

https://bz.apache.org/bugzilla/show_bug.cgi?id=59136

            Bug ID: 59136
           Summary: Timeout not working properly when no info is sent
           Product: Apache httpd-2
           Version: 2.4.18
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: bugs@httpd.apache.org
          Reporter: blakeyed@totaki.com

I've changed Timeout directive to 5 and then executed:

$ time telnet serveraddress 80
with no input. I can see the connections are closed after ~35 seconds (instead
of 5). I've been testing disabling all mods I can, leaving just the mpm (tested
with event, worker and prefork).

But if I send something (a return, or the first line of a request) the Timeout
applies successfully.

I've also tested with Apache 2.2 and this version works alright, the
connections are closed after 5 seconds.

I've tested everything in an Ubuntu 14.04 fresh install with 2.4.7 and then
downloaded and installed 2.4.18.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59136] Timeout not working properly when no info is sent

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59136

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Eric Covener <co...@gmail.com> ---
Does "AcceptFilter none" change your result?  Seems likely your connection
never got processed by httpd.  Worth a note in the docs if you can confirm.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59136] Timeout not working properly when no info is sent

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59136

gfm <bl...@totaki.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEEDINFO                    |RESOLVED

--- Comment #2 from gfm <bl...@totaki.com> ---
Yes, this is it, after adding

AcceptFilter http none

It works ok.

-------------
> time telnet xxx.xxx.xxx.xxx 80
Trying xxx.xxx.xxx.xxx...
Connected to xxx.xxx.xxx.xxx.
Escape character is '^]'.
Connection closed by foreign host.

real    0m5.128s
user    0m0.001s
sys    0m0.002s
-------------
For a 5 seconds timeout

Thanks Eric!

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org