Merge pull request #1115 from aluzzardi/fix-windows-build

This commit is contained in:
Sam Alba
2021-11-09 12:48:27 -08:00
committed by GitHub

View File

@@ -3,6 +3,15 @@
package solver
import (
"fmt"
"net"
"strings"
"time"
"github.com/Microsoft/go-winio"
)
func dialStream(id string) (net.Conn, error) {
if !strings.HasPrefix(id, unixPrefix) {
return nil, fmt.Errorf("invalid socket forward key %s", id)