10.4.2
All checks were successful
Build / Build project (push) Successful in 6m56s

This commit is contained in:
Alexander Zhirov 2025-06-04 12:42:18 +03:00
parent 055ee31104
commit 2a01825560
Signed by: alexander
GPG key ID: C8D8BE544A27C511
3 changed files with 12 additions and 3 deletions

View file

@ -52,6 +52,7 @@ TLS_CERTIFICATE=""
TLS_PRIVATE_KEY=""
DNS_RESOLVER=()
DNS_RESOLVER_PREFER_IPV4=""
TLS_ECH_ENABLE=""
REVERSE_TUNNEL_CONNECTION_RETRY_MAX_BACKOFF=""
# Function to trim whitespace
@ -179,6 +180,9 @@ while IFS='=' read -r key value; do
dns_resolver_prefer_ipv4)
DNS_RESOLVER_PREFER_IPV4="$value"
;;
tls_ech_enable)
TLS_ECH_ENABLE="$value"
;;
reverse_tunnel_connection_retry_max_backoff)
REVERSE_TUNNEL_CONNECTION_RETRY_MAX_BACKOFF="$value"
;;
@ -228,6 +232,7 @@ for resolver in "${DNS_RESOLVER[@]}"; do
CMD+=("--dns-resolver" "$resolver")
done
[ "$DNS_RESOLVER_PREFER_IPV4" = "true" ] && CMD+=("--dns-resolver-prefer-ipv4")
[ "$TLS_ECH_ENABLE" = "true" ] && CMD+=("--tls-ech-enable")
# Set environment variable for nb_worker_threads if specified
if [ -n "$NB_WORKER_THREADS" ]; then