mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-20 16:02:59 +02:00
In large networks, when ever multiple clients connect at the same time and request the proxy.pac configuration file, apache rate-limited requests so that some clients did not get a response and therefore could not connect to the Internet. This allows apache to handle more connections at the same time. Suggested-by: Thoralf Söldenwagner <soeldenwagner@brecht-schule.hamburg> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
34 lines
963 B
Plaintext
34 lines
963 B
Plaintext
#
|
|
# KeepAlive: Whether or not to allow persistent connections (more than
|
|
# one request per connection). Set to "Off" to deactivate.
|
|
#
|
|
KeepAlive On
|
|
|
|
#
|
|
# MaxKeepAliveRequests: The maximum number of requests to allow
|
|
# during a persistent connection. Set to 0 to allow an unlimited amount.
|
|
# We recommend you leave this number high, for maximum performance.
|
|
#
|
|
MaxKeepAliveRequests 100
|
|
|
|
#
|
|
# KeepAliveTimeout: Number of seconds to wait for the next request from the
|
|
# same client on the same connection.
|
|
#
|
|
KeepAliveTimeout 15
|
|
|
|
MinSpareServers 1
|
|
MaxSpareServers 10
|
|
StartServers 2
|
|
MaxClients 1000
|
|
|
|
#
|
|
# The following directives modify normal HTTP response behavior to
|
|
# handle known problems with browser implementations.
|
|
#
|
|
BrowserMatch "Mozilla/2" nokeepalive
|
|
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
|
|
BrowserMatch "RealPlayer 4\.0" force-response-1.0
|
|
BrowserMatch "Java/1\.0" force-response-1.0
|
|
BrowserMatch "JDK/1\.0" force-response-1.0
|