From 312714453954993afe813bfd1b32a9b9bceaab97 Mon Sep 17 00:00:00 2001 From: Arthur Sengileyev Date: Wed, 17 Aug 2022 17:49:21 +0300 Subject: [PATCH] Allow unix sockets on windows --- pkg/transport/listen_windows.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/transport/listen_windows.go b/pkg/transport/listen_windows.go index 30ee11eda..98fdc7cc9 100644 --- a/pkg/transport/listen_windows.go +++ b/pkg/transport/listen_windows.go @@ -25,6 +25,8 @@ func Listen(endpoint string) (net.Listener, error) { VMID: hvsock.GUIDWildcard, ServiceID: svcid, }) + case "unix", "unixpacket": + return net.Listen(parsed.Scheme, parsed.Path) case "tcp": return net.Listen("tcp", parsed.Host) default: