TSG-2612 tfe 执行 TCP Options

This commit is contained in:
luwenpeng
2020-07-21 20:00:14 +08:00
parent 13289d5a71
commit ddb1ccba12
5 changed files with 208 additions and 58 deletions

View File

@@ -55,6 +55,8 @@ untrusted_ca_path=resource/tfe/tango-ca-untrust-ca.pem
enable_health_check=1
[debug]
# 1 : enforce tcp passthrough
# 0 : Whether to passthrough depends on the tcp_options in cmsg
passthrough_all_tcp=0
[ratelimit]
@@ -64,11 +66,18 @@ passthrough_all_tcp=0
#write_burst=200000
[tcp]
sz_rcv_buffer=0
sz_snd_buffer=0
# 1 : use tcp_options in tfe.conf
# 0 : use tcp_options in cmsg
enable_overwrite=0
tcp_nodelay=1
so_keepalive=1
tcp_keepcnt=8
tcp_keepintvl=15
tcp_keepidle=30
tcp_user_timeout=30
tcp_user_timeout=600
tcp_ttl_upstream=75
tcp_ttl_downstream=70