Add option '--long-idle' for server

Restore the default behavior handling timeout, make an option to enable
long idle connections.

Previously discussion:

https://github.com/shadowsocks/shadowsocks-libev/pull/2421

https://github.com/shadowsocks/shadowsocks-libev/issues/2427
This commit is contained in:
lixingcong
2019-08-31 10:45:52 +08:00
parent 7a428d0fc7
commit b4cda9dd42
7 changed files with 32 additions and 5 deletions
+4
View File
@@ -406,6 +406,10 @@ usage()
#ifndef MODULE_MANAGER
printf(
" [--no-delay] Enable TCP_NODELAY.\n");
#ifdef MODULE_REMOTE
printf(
" [--long-idle] Enable TCP long idle connections.\n");
#endif
printf(
" [--key <key_in_base64>] Key of your remote server.\n");
#endif