aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-01-30 10:12:00 +0100
committerJo-Philipp Wich <jo@mein.io>2019-01-30 10:13:30 +0100
commite5a0b6cde051bd24280e9c3a360e65617bce2416 (patch)
treef937592c3d83171c960a4ead7be153540ed1664a /package
parent11bfb39e394b80dce5de28d16083ac0f59f4002d (diff)
downloadupstream-e5a0b6cde051bd24280e9c3a360e65617bce2416.tar.gz
upstream-e5a0b6cde051bd24280e9c3a360e65617bce2416.tar.bz2
upstream-e5a0b6cde051bd24280e9c3a360e65617bce2416.zip
uhttpd: disable concurrent requests by default
In order to avoid straining CPU and memory resources on lower end devices, avoid running multiple CGI requests in parallel. Ref: https://forum.openwrt.org/t/high-load-fix-on-openwrt-luci/29006 Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit c6aa9ff38870a30dbe6da17e4edad6039fe10ddf)
Diffstat (limited to 'package')
-rw-r--r--package/network/services/uhttpd/Makefile2
-rw-r--r--package/network/services/uhttpd/files/uhttpd.config2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/uhttpd/Makefile b/package/network/services/uhttpd/Makefile
index da426d4700..29f1c89f12 100644
--- a/package/network/services/uhttpd/Makefile
+++ b/package/network/services/uhttpd/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=uhttpd
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/uhttpd.git
diff --git a/package/network/services/uhttpd/files/uhttpd.config b/package/network/services/uhttpd/files/uhttpd.config
index a3deb9cf04..8b7d84c206 100644
--- a/package/network/services/uhttpd/files/uhttpd.config
+++ b/package/network/services/uhttpd/files/uhttpd.config
@@ -24,7 +24,7 @@ config uhttpd main
# If this number is exceeded, further requests are
# queued until the number of running requests drops
# below the limit again.
- option max_requests 3
+ option max_requests 1
# Maximum number of concurrent connections.
# If this number is exceeded, further TCP connection