[httpd] use NoDelay and DeferAcceptSec in httpd.socket
Jan Kaluža
jkaluza at fedoraproject.org
Thu Sep 18 06:04:22 UTC 2014
commit 5d7dedd78c9ba43cbc773dc1828debe25817aff9
Author: Jan Kaluza <jkaluza at redhat.com>
Date: Thu Sep 18 08:04:18 2014 +0200
use NoDelay and DeferAcceptSec in httpd.socket
httpd.socket | 2 ++
httpd.spec | 5 ++++-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/httpd.socket b/httpd.socket
index 5858a7f..705c4e5 100644
--- a/httpd.socket
+++ b/httpd.socket
@@ -3,6 +3,8 @@ Description=Apache httpd Server Socket
[Socket]
ListenStream=80
+NoDelay=true
+DeferAcceptSec=30
[Install]
WantedBy=sockets.target
diff --git a/httpd.spec b/httpd.spec
index 7c0ce55..b6c58b0 100644
--- a/httpd.spec
+++ b/httpd.spec
@@ -14,7 +14,7 @@
Summary: Apache HTTP Server
Name: httpd
Version: 2.4.10
-Release: 12%{?dist}
+Release: 13%{?dist}
URL: http://httpd.apache.org/
Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
Source1: index.html
@@ -669,6 +669,9 @@ rm -rf $RPM_BUILD_ROOT
%{_rpmconfigdir}/macros.d/macros.httpd
%changelog
+* Thu Sep 18 2014 Jan Kaluza <jkaluza at redhat.com> - 2.4.10-13
+- use NoDelay and DeferAcceptSec in httpd.socket
+
* Mon Sep 08 2014 Jan Kaluza <jkaluza at redhat.com> - 2.4.10-12
- increase suexec minimum acceptable uid/gid to 1000 (#1136391)
More information about the scm-commits
mailing list