summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <cheimes@redhat.com>2017-03-20 08:47:56 +0100
committerTomas Krizek <tkrizek@redhat.com>2017-03-20 19:24:28 +0100
commit7f567286f6b89f3e981af02913e833d3e8ed5064 (patch)
treee3e5d0b94d6164f50b169d98f07bd8981c34bada
parentb2bdd2e1a912573ae4a3e8e5f40831a800d972f7 (diff)
downloadfreeipa-7f567286f6b89f3e981af02913e833d3e8ed5064.tar.gz
freeipa-7f567286f6b89f3e981af02913e833d3e8ed5064.tar.xz
freeipa-7f567286f6b89f3e981af02913e833d3e8ed5064.zip
Increase Apache HTTPD's default keep alive timeout
Apache has a default keep alive timeout of 5 seconds. That's too low for interactive commands, e.g. password prompts. 30 seconds sounds like a good compromise. Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
-rw-r--r--install/conf/ipa.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/install/conf/ipa.conf b/install/conf/ipa.conf
index 164231c72..e1f1a581b 100644
--- a/install/conf/ipa.conf
+++ b/install/conf/ipa.conf
@@ -1,5 +1,5 @@
#
-# VERSION 24 - DO NOT REMOVE THIS LINE
+# VERSION 25 - DO NOT REMOVE THIS LINE
#
# This file may be overwritten on upgrades.
#
@@ -20,6 +20,11 @@ DirectoryIndex index.html
# requests, ticket #2767. This should easily support a 64KiB PAC.
LimitRequestFieldSize 100000
+# Increase connection keep alive time. Default value is 5 seconds, which is too
+# short for interactive ipa commands. 30 seconds is a good compromise.
+KeepAlive On
+KeepAliveTimeout 30
+
# ipa-rewrite.conf is loaded separately
# This is required so the auto-configuration works with Firefox 2+