GNOME Bugzilla – Bug 133470
no_proxy environment variable should change
Last modified: 2009-08-11 15:37:42 UTC
*** This bug is a wishlist bug. *** Currently, the behaviour of the no_proxy variable is to disable the proxy use. On the other hand, other software like links or wget, use the same variable to disable proxy ONLY for hosts/domains listed in the comma separated list provided in the variable. That means that libxml, and therefore all programs using libxml, have a behaviour with proxies different from what one could expect. An example (and typical) environment setup would be : http_proxy=http://proxy:3128/ no_proxy=localhost Then, having the no_proxy set, libxml won't try the proxy for non localhost hosts...
Not very high priority, we take patches :-) Daniel
Oh! I almost forgot this bug :-p Maybe one simple and good change to do ASAP (before implementing the full thing), would be to just check if no_proxy=*, in which case it means we want to totally disable proxy (while avoiding to disable proxy if no_proxy has a value to be parsed). Small patch attached.
Created attachment 30551 [details] [review] First step to a proper change
Created attachment 30552 [details] [review] A better version of the latter
Bugzilla doesn't forget ! Second patch applied, will commit later today. thanks, Daniel
fixed long ago, Daniel