ShadowsocksR-Live / shadowsocksr-native

翻墙 从容穿越党国敏感日 ShadowsocksR (SSRoT) native implementation for all platforms, GFW terminator
https://github.com/ShadowsocksR-Live/shadowsocksr-native/wiki
GNU General Public License v3.0
2.74k stars 765 forks source link

Questions about timeout configuration. #180

Closed zdm2008 closed 3 years ago

zdm2008 commented 3 years ago

Why is there only "timeout": 300 in the configuration example file of Windows, but "idle_timeout": 300, "connect_timeout": 6, and "udp_timeout": 6 in the configuration examples of linux and mac?

ssrlive commented 3 years ago

replace

"timeout": 300,

with

"idle_timeout": 300, 
"connect_timeout": 6, 
"udp_timeout": 6,

It's new format.