Skip to content

Commit

Permalink
Allow unix sockets on windows
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Sengileyev <[email protected]>
  • Loading branch information
arixmkii committed Aug 18, 2022
1 parent 89efd2b commit 0b1b3d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/transport/listen_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ func Listen(endpoint string) (net.Listener, error) {
VMID: hvsock.GUIDWildcard,
ServiceID: svcid,
})
case "unix":
return net.Listen(parsed.Scheme, parsed.Path)
case "tcp":
return net.Listen("tcp", parsed.Host)
default:
Expand Down

0 comments on commit 0b1b3d4

Please sign in to comment.