Chaining proxies for a HttpWebRequest

  • Thread starter Thread starter sylph
  • Start date Start date
S

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.
 
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 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 :)
 
Thus wrote sylph,
Joerg Jooss a écrit :

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,
 
Back
Top