You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/sslocal.rs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -61,12 +61,12 @@ fn main() {
61
61
(@group SERVER_CONFIG =>
62
62
(@attributes +multiple arg[SERVER_ADDRURL]))
63
63
64
-
65
-
(@arg NO_DELAY: --("no-delay") !takes_value "Set TCP_NODELAY option for socket")
66
64
(@arg NOFILE: -n --nofile +takes_value "Set RLIMIT_NOFILE with both soft and hard limit (only for *nix systems)")
67
65
(@arg ACL: --acl +takes_value "Path to ACL (Access Control List)")
68
66
(@arg DNS: --dns +takes_value "DNS nameservers, formatted like [(tcp|udp)://]host[:port][,host[:port]]..., or unix:///path/to/dns, or predefined keys like \"google\", \"cloudflare\"")
69
67
68
+
(@arg TCP_NO_DELAY: --("tcp-no-delay") !takes_value alias("no-delay")"Set TCP_NODELAY option for socket")
69
+
70
70
(@arg UDP_TIMEOUT: --("udp-timeout") +takes_value {validator::validate_u64}"Timeout seconds for UDP relay")
71
71
(@arg UDP_MAX_ASSOCIATIONS: --("udp-max-associations") +takes_value {validator::validate_u64}"Maximum associations to be kept simultaneously for UDP relay")
Copy file name to clipboardExpand all lines: bin/ssmanager.rs
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,6 @@ fn main() {
50
50
(@arg BIND_ADDR: -b --("bind-addr") +takes_value {validator::validate_ip_addr}"Bind address, outbound socket will bind this address")
51
51
(@arg SERVER_HOST: -s --("server-host") +takes_value "Host name or IP address of your remote server")
52
52
53
-
(@arg NO_DELAY: --("no-delay") !takes_value "Set TCP_NODELAY option for socket")
54
53
55
54
(@arg MANAGER_ADDRESS: --("manager-address") +takes_value {validator::validate_manager_addr}"ShadowSocks Manager (ssmgr) address, could be ip:port, domain:port or /path/to/unix.sock")
(@arg ACL: --acl +takes_value "Path to ACL (Access Control List)")
61
60
(@arg DNS: --dns +takes_value "DNS nameservers, formatted like [(tcp|udp)://]host[:port][,host[:port]]..., or unix:///path/to/dns, or predefined keys like \"google\", \"cloudflare\"")
62
61
62
+
(@arg TCP_NO_DELAY: --("tcp-no-delay") !takes_value alias("no-delay")"Set TCP_NODELAY option for socket")
63
+
64
+
(@arg UDP_TIMEOUT: --("udp-timeout") +takes_value {validator::validate_u64}"Timeout seconds for UDP relay")
65
+
(@arg UDP_MAX_ASSOCIATIONS: --("udp-max-associations") +takes_value {validator::validate_u64}"Maximum associations to be kept simultaneously for UDP relay")
Copy file name to clipboardExpand all lines: bin/ssserver.rs
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -56,20 +56,19 @@ fn main() {
56
56
57
57
(@arg MANAGER_ADDRESS: --("manager-address") +takes_value "ShadowSocks Manager (ssmgr) address, could be \"IP:Port\", \"Domain:Port\" or \"/path/to/unix.sock\"")
58
58
59
-
(@arg NO_DELAY: --("no-delay") !takes_value "Set TCP_NODELAY option for socket")
60
59
(@arg NOFILE: -n --nofile +takes_value "Set RLIMIT_NOFILE with both soft and hard limit (only for *nix systems)")
61
60
(@arg ACL: --acl +takes_value "Path to ACL (Access Control List)")
62
61
(@arg DNS: --dns +takes_value "DNS nameservers, formatted like [(tcp|udp)://]host[:port][,host[:port]]..., or unix:///path/to/dns, or predefined keys like \"google\", \"cloudflare\"")
63
62
63
+
(@arg TCP_NO_DELAY: --("tcp-no-delay") !takes_value alias("no-delay")"Set TCP_NODELAY option for socket")
64
+
64
65
(@arg UDP_TIMEOUT: --("udp-timeout") +takes_value {validator::validate_u64}"Timeout seconds for UDP relay")
65
66
(@arg UDP_MAX_ASSOCIATIONS: --("udp-max-associations") +takes_value {validator::validate_u64}"Maximum associations to be kept simultaneously for UDP relay")
0 commit comments