You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2018/01/27 09:24:10 UTC
httpcomponents-client git commit: HTTPCLIENT-1900: proxy protocol
processor does not post-process CONNECT response messages
Repository: httpcomponents-client
Updated Branches:
refs/heads/4.5.x 6374006e1 -> 97b5055cc
HTTPCLIENT-1900: proxy protocol processor does not post-process CONNECT response messages
Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-client/commit/97b5055c
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-client/tree/97b5055c
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-client/diff/97b5055c
Branch: refs/heads/4.5.x
Commit: 97b5055cc1b377a3b7b2013f96589fa7b28ffb59
Parents: 6374006
Author: Oleg Kalnichevski <ol...@apache.org>
Authored: Sat Jan 27 10:17:53 2018 +0100
Committer: Oleg Kalnichevski <ol...@apache.org>
Committed: Sat Jan 27 10:21:53 2018 +0100
----------------------------------------------------------------------
.../main/java/org/apache/http/impl/execchain/MainClientExec.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/httpcomponents-client/blob/97b5055c/httpclient/src/main/java/org/apache/http/impl/execchain/MainClientExec.java
----------------------------------------------------------------------
diff --git a/httpclient/src/main/java/org/apache/http/impl/execchain/MainClientExec.java b/httpclient/src/main/java/org/apache/http/impl/execchain/MainClientExec.java
index a932a08..579ffed 100644
--- a/httpclient/src/main/java/org/apache/http/impl/execchain/MainClientExec.java
+++ b/httpclient/src/main/java/org/apache/http/impl/execchain/MainClientExec.java
@@ -471,6 +471,7 @@ public class MainClientExec implements ClientExecChain {
this.authenticator.generateAuthResponse(connect, proxyAuthState, context);
response = this.requestExecutor.execute(connect, managedConn, context);
+ this.requestExecutor.postProcess(response, this.proxyHttpProcessor, context);
final int status = response.getStatusLine().getStatusCode();
if (status < 200) {