From ccac3d3fffa687434d88720cdd9bb2746f6311d2 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Thu, 28 Feb 2008 22:15:44 +0000 Subject: [PATCH] Add proxy auto-config support for libfetch. Discussed with: des --- en/projects/ideas/ideas.xml | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/en/projects/ideas/ideas.xml b/en/projects/ideas/ideas.xml index e309947786..5361a58f97 100644 --- a/en/projects/ideas/ideas.xml +++ b/en/projects/ideas/ideas.xml @@ -15,7 +15,7 @@ Ideas//EN" - $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 $ @@ -1683,6 +1683,39 @@ clean.

+ + Proxy auto-config file support for libfetch + + +

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.

+ +

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.

+ +

References:

+ + +

Requirements:

+
    +
  • Strong knowledge of secure C programming. +
+
+
+ PXE Installer