httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <>
Subject Re: DOS-Protection: RequestReadTimeout-like option missing
Date Sat, 11 May 2013 17:49:43 GMT
> localhost
> test with request: 10 seconds
> test without request: 41 seconds

As the manual says:

When an AcceptFilter is in use (usually the case on Linux and
FreeBSD), the socket is not sent to the server process before at least
one byte (or the whole request for httpready) is received. The header
timeout configured with RequestReadTimeout is only effective after the
server process has received the socket.

But it's not of much consequence since a thread is not consumed.

On Linux, it looks like the call to setsockopt TCP_DEFER_ACCEPT is
hard-coded to 30 seconds --   + 10 seconds in mod_reqtimeout

View raw message