[apache2] 01/01: mod_socache_memcache: Increase idle timeout to 15s
Stefan Fritsch
sf at moszumanska.debian.org
Sun May 29 08:57:03 UTC 2016
This is an automated email from the git hooks/post-receive script.
sf pushed a commit to branch jessie
in repository apache2.
commit 47d9d53180e5c7213d74ff72a5b7b818e6aeee9f
Author: Stefan Fritsch <sf at sfritsch.de>
Date: Sun May 29 10:54:44 2016 +0200
mod_socache_memcache: Increase idle timeout to 15s
---
debian/changelog | 2 ++
debian/patches/mod_socache_memcache_idle_timeout.patch | 11 +++++++++++
debian/patches/series | 1 +
3 files changed, 14 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index fe41f61..c873d77 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ apache2 (2.4.10-10+deb8u5) UNRELEASED; urgency=medium
Stangner for the patch. Closes: #822144
* Remove links to manpages.debian.org in default index.html to avoid
broken robots doing a DoS on the site. Closes: #821313
+ * mod_socache_memcache: Increase idle timeout to 15s to allow keep-alive
+ connections. Closes: #803035
-- Stefan Fritsch <sf at debian.org> Sat, 28 May 2016 11:23:21 +0200
diff --git a/debian/patches/mod_socache_memcache_idle_timeout.patch b/debian/patches/mod_socache_memcache_idle_timeout.patch
new file mode 100644
index 0000000..5fe07fe
--- /dev/null
+++ b/debian/patches/mod_socache_memcache_idle_timeout.patch
@@ -0,0 +1,11 @@
+--- apache2.orig/modules/cache/mod_socache_memcache.c
++++ apache2/modules/cache/mod_socache_memcache.c
+@@ -51,7 +51,7 @@
+ #endif
+
+ #ifndef MC_DEFAULT_SERVER_TTL
+-#define MC_DEFAULT_SERVER_TTL 600
++#define MC_DEFAULT_SERVER_TTL (15*1000*1000) /* 15 seconds */
+ #endif
+
+ struct ap_socache_instance_t {
diff --git a/debian/patches/series b/debian/patches/series
index dc0983a..f6f937a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -18,3 +18,4 @@ define_restarts.diff
mpm_event_graceful_restart_deadlock.diff
mpm_event_crash.diff
split_logfile-strict.patch
+mod_socache_memcache_idle_timeout.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-apache/apache2.git
More information about the Pkg-apache-commits
mailing list