|
|
ac7d03 |
From 2905ebdb1a6c668da1a12d79824c6710e3f0eb94 Mon Sep 17 00:00:00 2001
|
|
|
ac7d03 |
From: Christian Heimes <cheimes@redhat.com>
|
|
|
ac7d03 |
Date: Mon, 20 Mar 2017 08:47:56 +0100
|
|
|
ac7d03 |
Subject: [PATCH] Increase Apache HTTPD's default keep alive timeout
|
|
|
ac7d03 |
|
|
|
ac7d03 |
Apache has a default keep alive timeout of 5 seconds. That's too low for
|
|
|
ac7d03 |
interactive commands, e.g. password prompts. 30 seconds sounds like a
|
|
|
ac7d03 |
good compromise.
|
|
|
ac7d03 |
|
|
|
ac7d03 |
Signed-off-by: Christian Heimes <cheimes@redhat.com>
|
|
|
ac7d03 |
Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
|
|
|
ac7d03 |
---
|
|
|
ac7d03 |
install/conf/ipa.conf | 7 ++++++-
|
|
|
ac7d03 |
1 file changed, 6 insertions(+), 1 deletion(-)
|
|
|
ac7d03 |
|
|
|
ac7d03 |
diff --git a/install/conf/ipa.conf b/install/conf/ipa.conf
|
|
|
ac7d03 |
index 164231c729a8b3d64982ea0d9592e949635d7418..e1f1a581b4e8a91b899bcf165ca81f266fa9e516 100644
|
|
|
ac7d03 |
--- a/install/conf/ipa.conf
|
|
|
ac7d03 |
+++ b/install/conf/ipa.conf
|
|
|
ac7d03 |
@@ -1,5 +1,5 @@
|
|
|
ac7d03 |
#
|
|
|
ac7d03 |
-# VERSION 24 - DO NOT REMOVE THIS LINE
|
|
|
ac7d03 |
+# VERSION 25 - DO NOT REMOVE THIS LINE
|
|
|
ac7d03 |
#
|
|
|
ac7d03 |
# This file may be overwritten on upgrades.
|
|
|
ac7d03 |
#
|
|
|
ac7d03 |
@@ -20,6 +20,11 @@ DirectoryIndex index.html
|
|
|
ac7d03 |
# requests, ticket #2767. This should easily support a 64KiB PAC.
|
|
|
ac7d03 |
LimitRequestFieldSize 100000
|
|
|
ac7d03 |
|
|
|
ac7d03 |
+# Increase connection keep alive time. Default value is 5 seconds, which is too
|
|
|
ac7d03 |
+# short for interactive ipa commands. 30 seconds is a good compromise.
|
|
|
ac7d03 |
+KeepAlive On
|
|
|
ac7d03 |
+KeepAliveTimeout 30
|
|
|
ac7d03 |
+
|
|
|
ac7d03 |
# ipa-rewrite.conf is loaded separately
|
|
|
ac7d03 |
|
|
|
ac7d03 |
# This is required so the auto-configuration works with Firefox 2+
|
|
|
ac7d03 |
--
|
|
|
ac7d03 |
2.12.1
|
|
|
ac7d03 |
|