Browse Source

Update docs for TCP_NODELAY

pull/1687/head
Max Witten 7 years ago
committed by Max Lv
parent
commit
b721c0fa6d
6 changed files with 23 additions and 5 deletions
  1. 3
      doc/shadowsocks-libev.asciidoc
  2. 6
      doc/ss-local.asciidoc
  3. 5
      doc/ss-redir.asciidoc
  4. 7
      doc/ss-server.asciidoc
  5. 5
      doc/ss-tunnel.asciidoc
  6. 2
      src/utils.c

3
doc/shadowsocks-libev.asciidoc

@ -136,6 +136,9 @@ Enable port reuse.
+
Only available with Linux kernel > 3.9.0.
--no-delay::
Enable TCP_NODELAY.
--acl <acl_config>::
Enable ACL (Access Control List) and specify config file.
+

6
doc/ss-local.asciidoc

@ -13,7 +13,8 @@ SYNOPSIS
[-k <password>] [-m <encrypt_method>] [-f <pid_file>]
[-t <timeout>] [-c <config_file>] [-i <interface>]
[-a <user_name>] [-b <local_address>] [-n <nofile>]
[--fast-open] [--reuse-port] [--acl <acl_config>] [--mtu <MTU>]
[--fast-open] [--reuse-port] [--acl <acl_config>]
[--mtu <MTU>] [--no-delay]
[--plugin <plugin_name>] [--plugin-opts <plugin_options>]
[--password <password>] [--key <key_in_base64>]
@ -124,6 +125,9 @@ Enable Multipath TCP.
+
Only available with MPTCP enabled Linux kernel.
--no-delay::
Enable TCP_NODELAY.
--plugin <plugin_name>::
Enable SIP003 plugin. (Experimental)

5
doc/ss-redir.asciidoc

@ -12,7 +12,7 @@ SYNOPSIS
[-s <server_host>] [-p <server_port>] [-l <local_port>]
[-k <password>] [-m <encrypt_method>] [-f <pid_file>]
[-t <timeout>] [-c <config_file>] [-b <local_address>]
[-a <user_name>] [-n <nofile>] [--mtu <MTU>]
[-a <user_name>] [-n <nofile>] [--mtu <MTU>] [--no-delay]
[--plugin <plugin_name>] [--plugin-opts <plugin_options>]
[--password <password>] [--key <key_in_base64>]
@ -109,6 +109,9 @@ Enable port reuse.
+
Only available with Linux kernel > 3.9.0.
--no-delay::
Enable TCP_NODELAY.
--plugin <plugin_name>::
Enable SIP003 plugin. (Experimental)

7
doc/ss-server.asciidoc

@ -13,8 +13,8 @@ SYNOPSIS
[-k <password>] [-m <encrypt_method>] [-f <pid_file>]
[-t <timeout>] [-c <config_file>] [-i <interface>]
[-a <user_name>] [-d <addr>] [-n <nofile>]
[-b <local_address>] [--fast-open] [--reuse-port] [--mptcp]
[--acl <acl_config>] [--mtu <MTU>]
[-b <local_address>] [--fast-open] [--reuse-port]
[--mptcp] [--acl <acl_config>] [--mtu <MTU>] [--no-delay]
[--manager-address <path_to_unix_domain>]
[--plugin <plugin_name>] [--plugin-opts <plugin_options>]
[--password <password>] [--key <key_in_base64>]
@ -113,6 +113,9 @@ Enable port reuse.
+
Only available with Linux kernel > 3.9.0.
--no-delay::
Enable TCP_NODELAY.
--acl <acl_config>::
Enable ACL (Access Control List) and specify config file.

5
doc/ss-tunnel.asciidoc

@ -13,7 +13,7 @@ SYNOPSIS
[-k <password>] [-m <encrypt_method>] [-f <pid_file>]
[-t <timeout>] [-c <config_file>] [-i <interface>]
[-b <local_address>] [-a <user_name>] [-n <nofile>]
[-L addr:port] [--mtu <MTU>] [--mptcp] [--reuse-port]
[-L addr:port] [--mtu <MTU>] [--mptcp] [--reuse-port] [--no-delay]
[--plugin <plugin_name>] [--plugin-opts <plugin_options>]
[--key <key_in_base64>]
@ -121,6 +121,9 @@ Enable port reuse.
+
Only available with Linux kernel > 3.9.0.
--no-delay::
Enable TCP_NODELAY.
--plugin <plugin_name>::
Enable SIP003 plugin. (Experimental)

2
src/utils.c

@ -379,6 +379,8 @@ usage()
" [--mptcp] Enable Multipath TCP on MPTCP Kernel.\n");
#endif
#ifndef MODULE_MANAGER
printf(
" [--no-delay] Enable TCP_NODELAY.\n");
printf(
" [--key <key_in_base64>] Key of your remote server.\n");
#endif

Loading…
Cancel
Save