Merge pull request #1115 from aluzzardi/fix-windows-build
This commit is contained in:
commit
d3ccfc31ff
@ -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