mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -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,
|
Host: hostname,
|
||||||
Header: make(http.Header),
|
Header: make(http.Header),
|
||||||
}
|
}
|
||||||
resp := dumbResponseWriter{tlsConn}
|
p.Proxy.ServeHTTP(dumbResponseWriter{tlsConn}, req)
|
||||||
p.Proxy.ServeHTTP(resp, req)
|
|
||||||
}(c)
|
}(c)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue