diff --git a/utils/vhost/reverseproxy.go b/utils/vhost/reverseproxy.go index 39e4405..f606f48 100644 --- a/utils/vhost/reverseproxy.go +++ b/utils/vhost/reverseproxy.go @@ -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 { outreq.Body = nil // Issue 16036: nil Body for http.Transport retries }