mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-17 07:26:47 +00:00
HTTPCLIENT-1956: CONNECT overwrites the main request object in the HTTP context when requests are executed via a proxy tunnel
This commit is contained in:
parent
2ad70741e6
commit
90f22e85ff
@ -268,6 +268,7 @@ public CloseableHttpResponse execute(
|
||||
this.authenticator.generateAuthResponse(request, proxyAuthState, context);
|
||||
}
|
||||
|
||||
context.setAttribute(HttpCoreContext.HTTP_REQUEST, request);
|
||||
response = requestExecutor.execute(request, managedConn, context);
|
||||
|
||||
// The connection is in or can be brought to a re-usable state.
|
||||
|
Loading…
x
Reference in New Issue
Block a user