From e0505cc0182acf569cdd7b849189c134684160f8 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 23 Apr 2019 08:12:49 +0200 Subject: [PATCH] Revert "uhttpd: disable concurrent requests by default" This reverts commit c6aa9ff38870a30dbe6da17e4edad6039fe10ddf. Further testing has revealed that we will need to allow concurrent requests after all, especially for situations where CGI processes initiate further HTTP requests to the local host. Signed-off-by: Jo-Philipp Wich (cherry picked from commit f00a4ae6e0b1f7b3d84e11e8dc4dd562088584e0) --- package/network/services/uhttpd/Makefile | 2 +- package/network/services/uhttpd/files/uhttpd.config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/services/uhttpd/Makefile b/package/network/services/uhttpd/Makefile index 29f1c89f12..2a6fa3bbb0 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:=2 +PKG_RELEASE:=3 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 8b7d84c206..a3deb9cf04 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 1 + option max_requests 3 # Maximum number of concurrent connections. # If this number is exceeded, further TCP connection -- 2.25.1