mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-07-04 17:14:15 +00:00
UDS: Use UnixListenerWrapper & UnixConnWrapper
This commit is contained in:
parent
69b0fb6610
commit
3aefe66cf7
2 changed files with 11 additions and 11 deletions
|
@ -547,7 +547,7 @@ func UnwrapRawConn(conn net.Conn) (net.Conn, stats.Counter, stats.Counter) {
|
|||
conn = pc.Raw()
|
||||
// 8192 > 4096, there is no need to process pc's bufReader
|
||||
}
|
||||
if uc, ok := conn.(*internet.UDSWrapperConn); ok {
|
||||
if uc, ok := conn.(*internet.UnixConnWrapper); ok {
|
||||
conn = uc.UnixConn
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue