TUN-2646: Make --edge flag work again for local development

This commit is contained in:
Nick Vollmar
2019-12-23 23:11:00 -06:00
parent 7d7bdffde5
commit 7367827a11
3 changed files with 11 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ func DialEdge(
tlsEdgeConn.SetDeadline(time.Now().Add(timeout))
if err = tlsEdgeConn.Handshake(); err != nil {
return nil, newDialError(err, "Handshake with edge error")
return nil, newDialError(err, "TLS handshake with edge error")
}
// clear the deadline on the conn; h2mux has its own timeouts
tlsEdgeConn.SetDeadline(time.Time{})