diff options
| author | luwenpeng <[email protected]> | 2020-07-21 20:00:14 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2020-08-21 11:58:03 +0800 |
| commit | ddb1ccba12d463fe38a6aed93dd0656445e50f48 (patch) | |
| tree | abbbdda0676ece2bdeda7fad4954844bb42afe04 /conf | |
| parent | 13289d5a712ce5f91b3bc51187d11ce712335d5a (diff) | |
TSG-2612 tfe 执行 TCP Options
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/tfe/tfe.conf | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/conf/tfe/tfe.conf b/conf/tfe/tfe.conf index fa5d0bd..526e012 100644 --- a/conf/tfe/tfe.conf +++ b/conf/tfe/tfe.conf @@ -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 |
