Fix unixconn wrapper

This commit is contained in:
风扇滑翔翼 2025-02-19 08:51:49 +00:00 committed by GitHub
parent 52381a3c03
commit 69b0fb6610
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -548,7 +548,7 @@ func UnwrapRawConn(conn net.Conn) (net.Conn, stats.Counter, stats.Counter) {
// 8192 > 4096, there is no need to process pc's bufReader
}
if uc, ok := conn.(*internet.UDSWrapperConn); ok {
conn = uc.Conn
conn = uc.UnixConn
}
}
return conn, readCounter, writerCounter