Removed unnecessary protocol interceptor from the proxy protocol processor

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1528327 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2013-10-02 07:42:42 +00:00
parent eeb3f4f1ca
commit 01bf4cdbb9
1 changed files with 1 additions and 2 deletions

View File

@ -70,7 +70,6 @@ import org.apache.http.protocol.HttpProcessor;
import org.apache.http.protocol.HttpRequestExecutor; import org.apache.http.protocol.HttpRequestExecutor;
import org.apache.http.protocol.ImmutableHttpProcessor; import org.apache.http.protocol.ImmutableHttpProcessor;
import org.apache.http.protocol.RequestTargetHost; import org.apache.http.protocol.RequestTargetHost;
import org.apache.http.protocol.RequestUserAgent;
import org.apache.http.util.Args; import org.apache.http.util.Args;
import org.apache.http.util.EntityUtils; import org.apache.http.util.EntityUtils;
@ -118,7 +117,7 @@ public class MainClientExec implements ClientExecChain {
Args.notNull(userTokenHandler, "User token handler"); Args.notNull(userTokenHandler, "User token handler");
this.authenticator = new HttpAuthenticator(); this.authenticator = new HttpAuthenticator();
this.proxyHttpProcessor = new ImmutableHttpProcessor( this.proxyHttpProcessor = new ImmutableHttpProcessor(
new RequestTargetHost(), new RequestClientConnControl(), new RequestUserAgent()); new RequestTargetHost(), new RequestClientConnControl());
this.routeDirector = new BasicRouteDirector(); this.routeDirector = new BasicRouteDirector();
this.requestExecutor = requestExecutor; this.requestExecutor = requestExecutor;
this.connManager = connManager; this.connManager = connManager;