misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-09-13 12:12:02 +02:00
commit 8dfe78c491
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -309,8 +309,7 @@ func (p *HTTPProxy) httpsWorker() error {
Host: hostname,
Header: make(http.Header),
}
resp := dumbResponseWriter{tlsConn}
p.Proxy.ServeHTTP(resp, req)
p.Proxy.ServeHTTP(dumbResponseWriter{tlsConn}, req)
}(c)
}