mirror of
https://github.com/mmatczuk/go-http-tunnel.git
synced 2026-05-15 14:16:17 -06:00
tunnel: x-forwarded for fix
This commit is contained in:
parent
6748d2df96
commit
3f63ab0a14
6 changed files with 32 additions and 46 deletions
|
|
@ -239,7 +239,7 @@ func (c *Client) serveHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
msg, err := proto.ReadControlMessage(r.Header)
|
||||
msg, err := proto.ReadControlMessage(r)
|
||||
if err != nil {
|
||||
c.logger.Log(
|
||||
"level", 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue