From 3f9e05e9981d70fcbcdcd4d7567a64470993c218 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 1 May 2020 02:29:36 -0600 Subject: [PATCH] bugfix port in hostname --- relay/mplexy/listener.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }