reqtimeout.conf 1.1 KB

12345678910111213141516171819202122
  1. # mod_reqtimeout limits the time waiting on the client to prevent an
  2. # attacker from causing a denial of service by opening many connections
  3. # but not sending requests. This file tries to give a sensible default
  4. # configuration, but it may be necessary to tune the timeout values to
  5. # the actual situation. Note that it is also possible to configure
  6. # mod_reqtimeout per virtual host.
  7. # Wait max 20 seconds for the first byte of the request line+headers
  8. # From then, require a minimum data rate of 500 bytes/s, but don't
  9. # wait longer than 40 seconds in total.
  10. # Note: Lower timeouts may make sense on non-ssl virtual hosts but can
  11. # cause problem with ssl enabled virtual hosts: This timeout includes
  12. # the time a browser may need to fetch the CRL for the certificate. If
  13. # the CRL server is not reachable, it may take more than 10 seconds
  14. # until the browser gives up.
  15. RequestReadTimeout header=20-40,minrate=500
  16. # Wait max 10 seconds for the first byte of the request body (if any)
  17. # From then, require a minimum data rate of 500 bytes/s
  18. RequestReadTimeout body=10,minrate=500