Merge pull request #1121 from samalba/fix-windows-socket

solver: fixed npipe support on Windows
This commit is contained in:
Sam Alba 2021-11-10 18:22:53 -08:00 committed by GitHub
commit f4d6dc539c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
} }