[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpcomponents-commits
Subject:    httpcomponents-client git commit: HTTPCLIENT-1900: proxy protocol processor in the CONNECT exec inte
From:       olegk () apache ! org
Date:       2018-01-27 9:31:09
Message-ID: 8e6ecf2c318b4d1eac837b25caa6059a () git ! apache ! org
[Download RAW message or body]

Repository: httpcomponents-client
Updated Branches:
  refs/heads/master ceec7eeaa -> 4f7df3d0a


HTTPCLIENT-1900: proxy protocol processor in the CONNECT exec interceptor 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/4f7df3d0
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-client/tree/4f7df3d0
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-client/diff/4f7df3d0

Branch: refs/heads/master
Commit: 4f7df3d0a22b727d9970f1d1f022e31dadb24ccf
Parents: ceec7ee
Author: Oleg Kalnichevski <olegk@apache.org>
Authored: Sat Jan 27 10:20:28 2018 +0100
Committer: Oleg Kalnichevski <olegk@apache.org>
Committed: Sat Jan 27 10:24:40 2018 +0100

----------------------------------------------------------------------
 .../java/org/apache/hc/client5/http/impl/classic/ConnectExec.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-client/blob/4f7df3d0/httpclient5/src/main/java/org/apache/hc/client5/http/impl/classic/ConnectExec.java
                
----------------------------------------------------------------------
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/classic/ConnectExec.java \
b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/classic/ConnectExec.java \
                index aa31790..0588465 100644
--- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/classic/ConnectExec.java
                
+++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/classic/ConnectExec.java
 @@ -206,6 +206,7 @@ public final class ConnectExec implements ExecChainHandler {
             this.authenticator.addAuthResponse(proxy, ChallengeType.PROXY, connect, \
proxyAuthExchange, context);  
             response = execRuntime.execute(connect, context);
+            this.proxyHttpProcessor.process(response, response.getEntity(), \
context);  
             final int status = response.getCode();
             if (status < HttpStatus.SC_SUCCESS) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic