1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-04-18 03:29:12 -04:00

Refine unix domain socket (#367)

This commit is contained in:
lucifer
2020-10-29 15:30:38 +08:00
committed by GitHub
parent f17063a08a
commit 770b994337
29 changed files with 542 additions and 195 deletions

View File

@@ -55,7 +55,7 @@ func (s *Server) policy() policy.Session {
// Network implements proxy.Inbound.
func (*Server) Network() []net.Network {
return []net.Network{net.Network_TCP}
return []net.Network{net.Network_TCP, net.Network_UNIX}
}
func isTimeout(err error) bool {