Merge pull request #1121 from samalba/fix-windows-socket
solver: fixed npipe support on Windows
This commit is contained in:
commit
f4d6dc539c
@ -13,7 +13,7 @@ import (
|
||||
)
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user