atom feed1 message in org.apache.hc.httpclient-usersRe: Proxy chaining
FromSent OnAttachments
arcivanovJun 18, 2014 10:14 am 
Subject:Re: Proxy chaining
From:arcivanov (
Date:Jun 18, 2014 10:14:36 am

Oleg Kalnichevski wrote

On Tue, 2014-06-17 at 20:44 -0700, arcivanov wrote:

Oleg Kalnichevski wrote

Unfortunately at this point there is no way around forking HttpClient if you want to implement proxy chaining. We can however consider making it possible to replace MainClientExec with a custom implementation.


Thanks Oleg, fair enough. Would you consider committing the below patch to improve extensibility? Criticism is, obviously, welcome. :)

httpclient.patch <>

- Arcadiy


Could you please raise a change request in JIRA and attach the patch to it?

As far as the patch goes I would rather avoid creating additional interfaces that are unlikely to be used often. A non-final protected factory method in HttpClientBuilder should be sufficient in my opinion.


--------------------------------------------------------------------- To unsubscribe, e-mail:


For additional commands, e-mail:


Good point. Jira issue HTTPCLIENT-1521 created <> with attached patched modified according to your recommendations.

Thanks a lot for your help!