瀏覽代碼

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 <[email protected]>
Jo-Philipp Wich 6 年之前
父節點
當前提交
f00a4ae6e0
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      package/network/services/uhttpd/Makefile
  2. 1 1
      package/network/services/uhttpd/files/uhttpd.config

+ 1 - 1
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

+ 1 - 1
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