Paul wrote:

> I know Maurizio's component, but it also doesn't work in every situation 
> (which may never be the case anyway),
> so I want to implement extra checks.
> For what I have found on the net, when a http statuscode 305 is received, 
> there should be more info returned about the proxy.

305 answer is not mandatory, so you can't rely on it.

> I don't know what info and how/where to read/interpret it (and cannot test 
> it here).
> Especially Squid proxy users seem to use the most exotic ports that are used 
> for other protocols.

Any port can be used for http proxy. Common ones are 80,81,3128,8000,8080 
but there is no rule.

In my experience, I've never seen a 305 reply in common production 
environments (Squid, ISA Server).

Consider this: if you get a 305 from the proxy, you talked to the proxy so 
you know ip and port :D
305 is mostly for proxy-redirect (from proxy to another), but everyone use 
proxy scripting.

-- 
Marcello Vezzelli
CTO
Software Development Department
E-Works s.r.l.
tel. +39 059 2929081
fax +39 059 2925035
Direzionale 70 - Via Giardini 456/c
41100 Modena - Italy
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to