chore: better tfo inbound code

This commit is contained in:
wwqgtxx
2022-11-16 10:43:16 +08:00
parent 03645fb235
commit 1880a485f8
11 changed files with 55 additions and 64 deletions

View File

@ -32,7 +32,7 @@ func New(config string, in chan<- C.ConnContext) (*Listener, error) {
log.Errorln("invalid target address %q", target)
return
}
l, err := net.Listen("tcp", addr)
l, err := inbound.Listen("tcp", addr)
if err != nil {
return
}