mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
13be09c510
commit
8dfe78c491
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue