Hello,
I have a question on proxy chaining.
I know that httpclient supports a single hop proxy, (Source -> P1 ->
Target) out of the box by using TUNNEL_TARGET. However, when I provide an
extra proxy in the chain using a custom HttpRoutePlanner#determineRoute(),
(Source -> P0 -> P1 -
On Wed, 2013-05-01 at 09:58 -0400, R Smith wrote:
> Hello,
>
> I have a question on proxy chaining.
>
> I know that httpclient supports a single hop proxy, (Source -> P1 ->
> Target) out of the box by using TUNNEL_TARGET. However, when I provide an
> extra proxy
out if Im barking up the right tree with the CONNECT
method for proxy chaining. I can proxy chain using command line telnet, so
I am just trying to recreate the same calls in httpclient at this point.
Thanks again for all the help,
-Ryan
On Thu, May 2, 2013 at 3:06 PM, Oleg Kalnichevski wrote
where internally that I am missing so I can see
> it being used as an example?
>
> Just trying to figure out if Im barking up the right tree with the CONNECT
> method for proxy chaining. I can proxy chain using command line telnet, so
> I am just trying to recreate the same calls i
> see
> > it being used as an example?
> >
> > Just trying to figure out if Im barking up the right tree with the
> CONNECT
> > method for proxy chaining. I can proxy chain using command line telnet,
> so
> > I am just trying to recreate the same calls in httpcli
ernally that I am missing so I can
> > see
> > > it being used as an example?
> > >
> > > Just trying to figure out if Im barking up the right tree with the
> > CONNECT
> > > method for proxy chaining. I can proxy chain using command line telnet,
> > so
for
> > > > chaining but I should make HttpConnect() a private inner class of my
> > > > custom RequestDirector class so end users wont call it? Does
> HttpClient
> > > > use the "CONNECT" method anywhere internally that I am missing so I
> can
ed: host:www.xhaus.com port: -1 scheme: http
CONNECT status code: 405
The body comes back with an error that includes: "The requested method
CONNECT is not allowed for the URL /index.html". I am guessing I missed
something in createTunnelToProxy, any help would be appreciated!
-
00
> CONNECT Issued: host:119.2.41.98 port: 8080 scheme: http
> CONNECT status code: 405
> CONNECT Issued: host:www.xhaus.com port: -1 scheme: http
> CONNECT status code: 405
>
> The body comes back with an error that includes: "The requested method
> CONNECT is not allowed for
agedConn.markReusable();
> > return false;
> > }
> >
> >
> > I added a couple printlns in there, here is an example output:
> > CONNECT Issued: host:119.2.41.98 port: 8080 scheme: http
> > CONNECT status code: 200
> > CONNECT Issued: host:119.
vision in order to accomplish that.
Thank you!
--
View this message in context:
http://httpcomponents.10934.n7.nabble.com/Proxy-chaining-tp19965p23618.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
-
To
On Sun, 2014-06-15 at 18:24 -0700, arcivanov wrote:
> Hi Oleg,
>
> RequestDirector and respectively DefaultRequestDirector have been deprecated
> as of 4.3 with no replacement suggested/provided.
>
> We need to implement chained proxies with SOCKS5 support and it would be
> great if you could br
ks for your help!
- Arcadiy
--
View this message in context:
http://httpcomponents.10934.n7.nabble.com/Proxy-chaining-tp19965p23630.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail:
rom the MainClientExec related
> to route handling and delegate the rest - seems quite cumbersome and would
> require quite a lot of validation testing.
>
> Am I missing something major?
>
> Thanks for your help!
>
> - Arcadiy
>
Hi Arcadiy
Unfortunately a
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.
>
> Oleg
Thanks Oleg, fair enough. Wou
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
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 m
Hello,
I am attempting to implement proxy chaining, I know it is not supported out
of the box but my project uses httpclient and they are stubborn about using
it. I sent up a custom MainClientExec and created a method for tunnel to
Proxy. What i dont understand is the comment in the source code of
Hi Folks,
I posted a question on Stack Overflow (at
http://stackoverflow.com/questions/9698935/proxy-chaining-in-apache-http)
and it was suggested I ask here so here goes...
I'd like to send http messages through something that I can control (mainly
so that I can record statistics and stas
On Thu, 2014-04-24 at 13:10 -0400, Matt Bialek wrote:
> Hello,
> I am attempting to implement proxy chaining, I know it is not supported out
> of the box but my project uses httpclient and they are stubborn about using
> it. I sent up a custom MainClientExec and created a method f
On Sat, 2012-03-17 at 12:27 +, Toby wrote:
> Hi Folks,
>
> I posted a question on Stack Overflow (at
> http://stackoverflow.com/questions/9698935/proxy-chaining-in-apache-http)
> and it was suggested I ask here so here goes...
>
> I'd like to send http messages th
ds,
Alan Ho
On Mar 17, 2012, at 7:27 AM, Toby wrote:
> Hi Folks,
>
> I posted a question on Stack Overflow (at
> http://stackoverflow.com/questions/9698935/proxy-chaining-in-apache-http)
> and it was suggested I ask here so here goes...
>
> I'd like to send http mess
;t got around
> to it.
>
> Let me know if you would want to look at the code or get a demo. (or if
> anyone wants to take a look)
>
> Regards,
> Alan Ho
>
> On Mar 17, 2012, at 7:27 AM, Toby wrote:
>
>> Hi Folks,
>>
>> I posted a question on St
> anyone wants to take a look)
> >
> > Regards,
> > Alan Ho
> >
> > On Mar 17, 2012, at 7:27 AM, Toby wrote:
> >
> >> Hi Folks,
> >>
> >> I posted a question on Stack Overflow (at
> >> http://stackoverflow.com/questions/9698935/
We are planning to opensource the statistics recorder, but haven't got
>>> around to it.
>>>
>>> Let me know if you would want to look at the code or get a demo. (or if
>>> anyone wants to take a look)
>>>
>>> Regards,
>>> Alan Ho
>
;> anyone wants to take a look)
>> >
>> > Regards,
>> > Alan Ho
>> >
>> > On Mar 17, 2012, at 7:27 AM, Toby wrote:
>> >
>> >> Hi Folks,
>> >>
>> >> I posted a question on Stack Overflow (at
>> >>
&g
On Thu, 2012-03-22 at 02:54 -0700, diyfiesta wrote:
> Great stuff...
>
> Something like this?
>
Yep.
Oleg
> DefaultHttpClient client = new DefaultHttpClient(connectionManager,
> httpParameters) {
> @Override
> protected RequestDirector
> createClientReques
27 matches
Mail list logo