ehco icon indicating copy to clipboard operation
ehco copied to clipboard

1.15版本在debian 12 /ubuntu 22.04下转发TCP会不断请求断连

Open wespochac opened this issue 1 year ago • 2 comments

尝试了一下新版本,转发TCP会断流,换回1.14就没问题了

wespochac avatar Oct 09 '24 11:10 wespochac

因为引入了一个新的 timotout 参数,默认是60s https://github.com/Ehco1996/ehco/blob/2b1b7adaa0f4eaf339b47fbe35bb9eeb1fb72952/internal/relay/conf/cfg.go#L47

Ehco1996 avatar Oct 21 '24 01:10 Ehco1996

因为引入了一个新的 timotout 参数,默认是60s

ehco/internal/relay/conf/cfg.go

Line 47 in 2b1b7ad

IdleTimeoutSec int json:"idle_timeout_sec,omitempty"

internal/constant/constant.go

查看了代码,发现目前默认timeout是10s 希望可以将默认设置为60s

zzz86823237 avatar Feb 04 '25 16:02 zzz86823237