codegooglecom / libproxy

Automatically exported from code.google.com/p/libproxy
GNU Lesser General Public License v2.1
0 stars 0 forks source link

issues with proxy.pac #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Gnome is configured to read the proxy settings from a pac file:
http://1.2.3.4/proxy.pac

This setting works, the pac is valid and distributed as
application/x-ns-proxy-autoconfig mime type

When using proxy (the test program from libproxy), I get the following output :

>proxy
http://www.google.com
*** Invalid PAC URL! Falling back to direct...
direct://

This is apparently not such a nice solution (especially not, as all other
programs seem to work fine with this pac file).

If I can provide you any more information, please let me know.

Original issue reported on code.google.com by dominiqu...@gmail.com on 10 Sep 2008 at 1:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Problem arises only when the pac URL is entered in the form
http://<ipaddress>/proxy.pac. I tried it with http://<dnsname>/proxy.pac, and it
get's a correct reply on which proxy to use (tested with the proxy binary)

Original comment by dominiqu...@gmail.com on 19 Sep 2008 at 11:55

GoogleCodeExporter commented 9 years ago
In case of IP instead of server name, the port was not added to the pxURL 
structure
and libproxy tried to connect on port 0.

Patch available, to be reviewed by npmccallum

Original comment by dominiqu...@gmail.com on 4 Oct 2008 at 3:09

GoogleCodeExporter commented 9 years ago
Fix commited in svn r268

Original comment by dominiqu...@gmail.com on 6 Oct 2008 at 5:59