Re: [squid-users] Problem with using wpad for autoconfiguration.

From: Robert Collins <robert.collins@dont-contact.us>
Date: Fri, 22 Jun 2001 00:09:59 +1000

----- Original Message -----
From: "Adam Lang" <aalang@rutgersinsurance.com>
To: "Squid-Users" <squid-users@squid-cache.org>
Sent: Thursday, June 21, 2001 10:54 PM
Subject: Re: [squid-users] Problem with using wpad for
autoconfiguration.

> ----- Original Message -----
> From: "Robert Collins" <robert.collins@itdomain.com.au>
> To: "Adam Lang" <aalang@rutgersinsurance.com>; "Squid-Users"
> <squid-users@squid-cache.org>
> Sent: Wednesday, June 20, 2001 5:58 PM
> Subject: Re: [squid-users] Problem with using wpad for
autoconfiguration.
>
>
> > Uhmm, I thought that the file IE gets from wpad was a .pac
configuration
> > file. Java is not the issue - the JVM is what manages connections
from the
> > PC, and that is able to use the system proxy configuration.
>
> Correct, but the thing is, Java applets really don't run inside of IE.
They
> run in a JVM which interacts with the OS itself. I'm guessing that IE
only
> interprets the pac file for its own use.

"IE" is a bit misleading. IE uses a internet library, which is what does
the actual wpad interpretation - not iexplore.exe.

> > In that case, proxy's shouldn't work for anything that doesn't know
where
> in
> > the registry to look, and JAVA shouldn't work with manual
configuration
> > either..
>
> But that's the thing, I don't think it looks in the registry. I'm
> assumption is that if it is configured manually, it affects how the
Windows
> Sockets work. So, if the JVM uses Windows Sockets for its TCP
connections,
> it very well may be able to check for configured proxy information.
Whereas
> since wpad doesn't store anything local (it actually checks the file
on each
> page lookup), and because it would be hard to store a pac file as a
straight
> config like in a manual setup, other applications couldn't use it,
unless
> they were specifically programemd to check for the wpad file on their
own,
> which would also explain why MS makes so much mention of
"autoconfigure
> technology". To get developers to implement it in their programs.

When it's configured manually, 0 changes to windows sockets occur. Given
the assumption you are basing your argument on is false, you can see
why we are drawing different conclusions.

Also, developers don't need to implement wpad support, thats handled by
the internet library (equivalent of libwww). Unless a developer
explicitly overrides the library, or doesn't use it at all, they will
have automatic wpad support.

Rob

>
> > I would definately class this as a bug.
>
> I'll mention it, but I'm guessing the above reasons are why. If I
hear
> anything back, I'll follow up with it.
>
> >
> > Rob
> >
> > > Adam Lang
> > > Systems Engineer
> > > Rutgers Casualty Insurance Company
> > > http://www.rutgersinsurance.com
>
>
>
Received on Thu Jun 21 2001 - 08:08:13 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:49 MST