Add proxy auto-config support for libfetch.

Discussed with:	des
This commit is contained in:
Brooks Davis 2008-02-28 22:15:44 +00:00
parent dfef978899
commit ccac3d3fff
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=31565

View file

@ -15,7 +15,7 @@ Ideas//EN"
<ideas>
<cvs:keywords xmlns:cvs="http://www.FreeBSD.org/XML/CVS" version="1.0">
<cvs:keyword name="freebsd">
$FreeBSD: www/en/projects/ideas/ideas.xml,v 1.33 2008/01/02 15:22:26 netchild Exp $
$FreeBSD: www/en/projects/ideas/ideas.xml,v 1.34 2008/02/02 02:14:10 danger Exp $
</cvs:keyword>
</cvs:keywords>
@ -1683,6 +1683,39 @@ clean.</p>
</desc>
</idea>
<idea id="pacfile">
<title>Proxy auto-config file support for libfetch</title>
<desc>
<p>A proxy auto-config (PAC) file contains a JavaScript function
"FindProxyForURL(url, host)" that determines which HTTP or SOCKS
proxy, if any, to use to access a given URL. In most application the
file may be specified manually or discovered using the Web Proxy
Autodiscovery Protocol. Support for PAC files in libfetch would make
fetch more versitle.</p>
<p>Supporting PAC files nominally requires a fairly complete JavaScript
implementation. There appear to be no BSD Licensed JavaScript
implementations so one will likely need to be written. A minimalist
implementation of the language with commonly used constructs such as
if/else, string comparison, and functions would be sufficient in many
cases.</p>
<p><strong>References</strong>:</p>
<ul>
<li><a href="http://en.wikipedia.org/wiki/Proxy_auto-config">Wikipedia
Article on Proxy auto-config
<li><a href="http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html">Proxy
Auto-Config File Format
</ul>
<p><strong>Requirements</strong>:</p>
<ul>
<li>Strong knowledge of secure C programming.
</ul>
</desc>
</idea>
<idea id="pxeinstaller">
<title>PXE Installer</title>