diff options
author | Stefan Fritsch <sf@apache.org> | 2011-11-08 20:41:47 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-11-08 20:41:47 +0000 |
commit | 5f666a2385a9f07d83da6b36fe0e8eddad85682f (patch) | |
tree | eea8798734e5e12334a6e4459424cfcd35c983e9 /docs/conf | |
parent | ebfb6ac9c9ae5d363ecec5d3240743f73b3faf88 (diff) | |
download | httpd-5f666a2385a9f07d83da6b36fe0e8eddad85682f.tar.gz |
mod_reqtimeout: Change the default to set some reasonable timeout values if loaded
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1199447 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/conf')
-rw-r--r-- | docs/conf/extra/httpd-default.conf.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/conf/extra/httpd-default.conf.in b/docs/conf/extra/httpd-default.conf.in index 15352b969f..f1e7bc82a7 100644 --- a/docs/conf/extra/httpd-default.conf.in +++ b/docs/conf/extra/httpd-default.conf.in @@ -73,3 +73,18 @@ ServerSignature Off # nameserver. # HostnameLookups Off + +# +# Set a timeout for how long the client may take to send the request header +# and body. +# The default for the headers is header=20-40,MinRate=500, which means wait +# for the first byte of headers for 20 seconds. If some data arrives, +# increase the timeout corresponding to a data rate of 500 bytes/s, but not +# above 40 seconds. +# The default for the request body is body=20,MinRate=500, which is the same +# but has no upper limit for the timeout. +# To disable, set to header=0 body=0 +# +<IfModule reqtimeout_module> + RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500 +</IfModule> |