fix windows build
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
07ead9050e
commit
51ae44765c
@ -3,6 +3,15 @@
|
|||||||
|
|
||||||
package solver
|
package solver
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"net"
|
||||||
|
"strings"
|
||||||
|
"time"
|
||||||
|
|
||||||
|
"github.com/Microsoft/go-winio"
|
||||||
|
)
|
||||||
|
|
||||||
func dialStream(id string) (net.Conn, error) {
|
func dialStream(id string) (net.Conn, error) {
|
||||||
if !strings.HasPrefix(id, unixPrefix) {
|
if !strings.HasPrefix(id, unixPrefix) {
|
||||||
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