mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-18 08:20:53 +00:00
fix remote conn statistic error
This commit is contained in:
parent
1c5f4a3ab1
commit
60e8cebeef
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ func handleTCPConn(connCtx C.ConnContext) {
|
|||
}
|
||||
logMetadata(metadata, rule, remoteConn)
|
||||
|
||||
remoteConn = statistic.NewTCPTracker(remoteConn, statistic.DefaultManager, metadata, rule, 0, int64(peekLen), true)
|
||||
remoteConn = statistic.NewTCPTracker(remoteConn, statistic.DefaultManager, metadata, rule, int64(peekLen), 0, true)
|
||||
defer func(remoteConn C.Conn) {
|
||||
_ = remoteConn.Close()
|
||||
}(remoteConn)
|
||||
|
|
Loading…
Add table
Reference in a new issue