Home All Groups Group Topic Archive Search About

Chaining proxies for a HttpWebRequest

Author
2 Mar 2006 6:24 PM
sylph
Hi

Does anyone know if it is possible to chain HTTP proxies when sending a
HTTP request with HttpWebRequest, for a .NET Framework 1.x in C# ? I
need that because of an application I'm developing that may need this
functionality.

Thanks.

Author
2 Mar 2006 9:49 PM
Joerg Jooss
Thus wrote sylph,

> Hi
>
> Does anyone know if it is possible to chain HTTP proxies when sending
> a HTTP request with HttpWebRequest, for a .NET Framework 1.x in C# ? I
> need that because of an application I'm developing that may need this
> functionality.

How do you chain HTTP requests? There's nothing in the HTTP spec that allows
you to do anything like this, is there?

Cheers,
--
Joerg Jooss
news-re***@joergjooss.de
Author
3 Mar 2006 6:47 AM
sylph
Joerg Jooss a écrit :

> Thus wrote joerg,
> How do you chain HTTP requests? There's nothing in the HTTP spec that allows
> you to do anything like this, is there?

Even if it is not in the spec, this is something that is done everyday.
Example :

HTTP Request <--> HTTP Proxy 1 <--> HTTP Proxy 2 <--> HTTP Proxy 3 <-->
HTTP Server

I think you did not understand my question :)
Author
3 Mar 2006 6:57 AM
Joerg Jooss
Thus wrote sylph,

Show quote
> Joerg Jooss a écrit :
>
>> Thus wrote joerg,
>> How do you chain HTTP requests? There's nothing in the HTTP spec that
>> all
> ows
>
>> you to do anything like this, is there?
>>
> Even if it is not in the spec, this is something that is done
> everyday. Example :
>
> HTTP Request <--> HTTP Proxy 1 <--> HTTP Proxy 2 <--> HTTP Proxy 3
> <--> HTTP Server
>
> I think you did not understand my question :)

I sure do. But that chain works because Proxy 1 is set up to talk to Proxy
2, which is set up to talk to Proxy 3. The client has no idea about proxies
2, 3 or n. Or Proxy 2 and 3 are reverse proxies, in which case Proxy 1 would
assume he's talking to the actual host...

Cheers,
--
Joerg Jooss
news-re***@joergjooss.de

AddThis Social Bookmark Button