pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0004-Increase-Apache-HTTPD-s-default-keep-alive-timeout.patch

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