direct: support dial timeout and relay timeout (#97)

This commit is contained in:
nadoo committed 2020-05-04 16:51:41 +08:00
1 parent 3392db41de
commit 665d722d2c
7 files changed
+65 -32

No files matched your search

+15 -1
View File
@@ -150,6 +150,20 @@ listen=socks5://:1080
# Destination Hashing mode: dh
strategy=rr
# FORWARDER SETTINGS
# ------------------
# We can set some parameters for forwarders.
# forwarder will be set to disabled on how many failures counted(both dial and relay).
maxfailures=3
# timeout for create a connection(seconds)
# dialtimeout=3
# timeout for relay data from proxy server and client(seconds)
# DO NOT change it if you don't know what will happen.
# relaytimeout=0
# FORWARDERS CHECK
# ----------------
@@ -171,7 +185,7 @@ checkdisabledonly=false
# DNS FORWARDING SERVER
# ----------------
# we can specify different upstream dns server in rule file for different destinations
# we can specify different upstream dns server in rule file for different destinations.
# Setup a dns forwarding server
dns=:53