HTTPCLIENT-1900: proxy protocol processor in the CONNECT exec interceptor does not post-process CONNECT response messages

This commit is contained in:
Oleg Kalnichevski 2018-01-27 10:20:28 +01:00
parent ceec7eeaa6
commit 4f7df3d0a2
1 changed files with 1 additions and 0 deletions

View File

@ -206,6 +206,7 @@ public final class ConnectExec implements ExecChainHandler {
this.authenticator.addAuthResponse(proxy, ChallengeType.PROXY, connect, proxyAuthExchange, context); this.authenticator.addAuthResponse(proxy, ChallengeType.PROXY, connect, proxyAuthExchange, context);
response = execRuntime.execute(connect, context); response = execRuntime.execute(connect, context);
this.proxyHttpProcessor.process(response, response.getEntity(), context);
final int status = response.getCode(); final int status = response.getCode();
if (status < HttpStatus.SC_SUCCESS) { if (status < HttpStatus.SC_SUCCESS) {