mirror of
https://github.com/fatedier/frp.git
synced 2024-12-12 17:50:51 +01:00
fix
This commit is contained in:
parent
f2117d8331
commit
80154639e3
@ -195,7 +195,7 @@ func (p *ReverseProxy) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
|
|||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|
||||||
outreq := req.Clone(ctx)
|
outreq := req.WithContext(ctx)
|
||||||
if req.ContentLength == 0 {
|
if req.ContentLength == 0 {
|
||||||
outreq.Body = nil // Issue 16036: nil Body for http.Transport retries
|
outreq.Body = nil // Issue 16036: nil Body for http.Transport retries
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user