diff --git a/relay/mplexy/listener.go b/relay/mplexy/listener.go index 224aeda..2ae0392 100644 --- a/relay/mplexy/listener.go +++ b/relay/mplexy/listener.go @@ -275,7 +275,7 @@ func (mx *MPlexy) acceptPlainStream(ctx context.Context, wConn *tunnel.WedgeConn loginfo.Println(hex.Dump(peek)) if !encrypted { // TODO request and cache http resources as a feature?? - go mx.routeToTarget(ctx, wConn, r.Host, "http") + go mx.routeToTarget(ctx, wConn, hostname, "http") return }