[icedtea-web] RFC: add support in netx for using proxy settings from browser

Omair Majid omajid at redhat.com
Fri Dec 24 12:31:54 PST 2010

On 12/22/2010 07:40 PM, Dr Andrew John Hughes wrote:
> On 17:34 Wed 22 Dec     , Omair Majid wrote:
>> Hi,
>> The attached patch makes netx (not plugin) behave correctly (or at least
>> slightly better) when deployment.proxy.type is set to 3 (for
>> With this patch, netx will parse the firefox preferences file to figure
>> out the browser's settings and use that when trying to figure out the
>> proxy to use for accessing a given URI.
> I think there could be better handling if the profiles.ini does not exist.
> AFAICS, it would print out a stack trace.  We should handle that much more
> gracefully.  It's not really an exceptional event that the user hasn't
> used Firefox before, but something we should account for.

Good point. I will post an updated patch to address this issue.

>> Similar to JNLPProxySelector, this class can not handle PAC files just
>> yet (though I am working on that).
> Are you planning to use libproxy?

Yes, but it will not be required for using PAC files. I have a prototype 
done that can parse and use PAC files correctly without relying on libproxy.

My plan is to have libproxy as a separate (but completely optional) backend.


More information about the distro-pkg-dev mailing list