HTTPCLIENT-1900: proxy protocol processor does not post-process CONNECT response messages

This commit is contained in:
Oleg Kalnichevski 2018-01-27 10:17:53 +01:00
parent 6374006e10
commit 97b5055cc1
1 changed files with 1 additions and 0 deletions

View File

@ -471,6 +471,7 @@ public class MainClientExec implements ClientExecChain {
this.authenticator.generateAuthResponse(connect, proxyAuthState, context); this.authenticator.generateAuthResponse(connect, proxyAuthState, context);
response = this.requestExecutor.execute(connect, managedConn, context); response = this.requestExecutor.execute(connect, managedConn, context);
this.requestExecutor.postProcess(response, this.proxyHttpProcessor, context);
final int status = response.getStatusLine().getStatusCode(); final int status = response.getStatusLine().getStatusCode();
if (status < 200) { if (status < 200) {