On sön, 2007-07-22 at 14:44 +0100, Markus Moeller wrote: > I think I know why my patch doesn't work for CONNECT sites. The reason is > that request->host does NOT contain the next proxy as it is the case for the > GET method. Is there any other structure/varibale which contains the next > proxy for all methods ?
It's in the FwdState sent to the protocol handler. But then the protocol handlers deal with proxying differently.. (applies to http and CONNECT only, the other protocols doesn't have a proxy concept). For CONNECT you have the next-hop hostname in state->host Regards Henrik
signature.asc
Description: This is a digitally signed message part