mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-24 19:33:13 +03:00
Fix tcp keep alive
This commit is contained in:
@@ -154,8 +154,6 @@ func (a *myInboundAdapter) loopTCPIn() {
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
conn.SetKeepAlive(true)
|
||||
conn.SetKeepAlivePeriod(C.TCPKeepAlivePeriod)
|
||||
go func() {
|
||||
ctx := log.ContextWithNewID(a.ctx)
|
||||
var metadata adapter.InboundContext
|
||||
|
||||
Reference in New Issue
Block a user