mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-07-04 17:14:15 +00:00
Fix unixconn wrapper
This commit is contained in:
parent
52381a3c03
commit
69b0fb6610
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue