mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-23 04:30:32 +08:00
TUN-2646: Make --edge flag work again for local development
This commit is contained in:
@@ -539,7 +539,7 @@ func NewTunnelHandler(ctx context.Context,
|
||||
// Client mux handshake with agent server
|
||||
h.muxer, err = h2mux.Handshake(edgeConn, edgeConn, config.muxerConfig(h), h.metrics.activeStreams)
|
||||
if err != nil {
|
||||
return nil, "", errors.Wrap(err, "Handshake with edge error")
|
||||
return nil, "", errors.Wrap(err, "h2mux handshake with edge error")
|
||||
}
|
||||
return h, edgeConn.LocalAddr().String(), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user