solver: fixed npipe support on Windows
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
parent
e6c7191ab0
commit
e4f2f69353
@ -13,7 +13,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func dialStream(id string) (net.Conn, error) {
|
func dialStream(id string) (net.Conn, error) {
|
||||||
if !strings.HasPrefix(id, unixPrefix) {
|
if !strings.HasPrefix(id, npipePrefix) {
|
||||||
return nil, fmt.Errorf("invalid socket forward key %s", id)
|
return nil, fmt.Errorf("invalid socket forward key %s", id)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user