bugfix port in hostname

This commit is contained in:
AJ ONeal 2020-05-01 02:29:36 -06:00
parent fac06a1d66
commit 3f9e05e998
1 changed files with 1 additions and 1 deletions

View File

@ -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
}