mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
luci-app-ssr-plus: fix concurrency setting for naiveproxy
This commit is contained in:
parent
ed0bdd09be
commit
984c1d98f4
@ -22,6 +22,7 @@ config PACKAGE_$(PKG_NAME)_INCLUDE_Trojan
|
||||
config PACKAGE_$(PKG_NAME)_INCLUDE_NaiveProxy
|
||||
bool "Include NaiveProxy"
|
||||
depends on !(arc||armeb||mips||mips64||powerpc)
|
||||
default y if i386||x86_64||arm||aarch64
|
||||
|
||||
config PACKAGE_$(PKG_NAME)_INCLUDE_Redsocks2
|
||||
bool "Include Redsocks2"
|
||||
|
@ -205,7 +205,7 @@ gen_config_file() {
|
||||
{
|
||||
"listen": "$PROTO://0.0.0.0:$3",
|
||||
"proxy": "https://$(uci_get_by_name $1 username):$(uci_get_by_name $1 password)@$(uci_get_by_name $1 server):$(uci_get_by_name $1 server_port)",
|
||||
"concurrency": "$4"
|
||||
"concurrency": "${4:-1}"
|
||||
}
|
||||
EOF
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user