From 62e253ee8ba1b98ae7dc369c6fbb5132b316e965 Mon Sep 17 00:00:00 2001 From: Petitoto Date: Tue, 12 May 2020 16:42:33 +0100 Subject: [PATCH] Fix conflict with last commit --- modules/http_proxy/http_proxy_base.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/http_proxy/http_proxy_base.go b/modules/http_proxy/http_proxy_base.go index 3cad6bf2..b810f864 100644 --- a/modules/http_proxy/http_proxy_base.go +++ b/modules/http_proxy/http_proxy_base.go @@ -397,8 +397,8 @@ func (p *HTTPProxy) httpsWorker() error { Opaque: hostname, Host: net.JoinHostPort(hostname, "443"), }, - Host: hostname, - Header: make(http.Header), + Host: hostname, + Header: make(http.Header), RemoteAddr: c.RemoteAddr().String(), } p.Proxy.ServeHTTP(dumbResponseWriter{tlsConn}, req)