After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 133470 - no_proxy environment variable should change
no_proxy environment variable should change
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
2.6.5
Other All
: Normal enhancement
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2004-02-05 08:01 UTC by Mike Hommey
Modified: 2009-08-11 15:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
First step to a proper change (637 bytes, patch)
2004-08-15 13:50 UTC, Mike Hommey
none Details | Review
A better version of the latter (655 bytes, patch)
2004-08-15 13:57 UTC, Mike Hommey
committed Details | Review

Description Mike Hommey 2004-02-05 08:01:15 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...
Comment 1 Daniel Veillard 2004-08-15 12:27:51 UTC
Not very high priority, we take patches :-)

Daniel
Comment 2 Mike Hommey 2004-08-15 13:49:28 UTC
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.
Comment 3 Mike Hommey 2004-08-15 13:50:30 UTC
Created attachment 30551 [details] [review]
First step to a proper change
Comment 4 Mike Hommey 2004-08-15 13:57:31 UTC
Created attachment 30552 [details] [review]
A better version of the latter
Comment 5 Daniel Veillard 2004-08-15 22:59:19 UTC
Bugzilla doesn't forget !
Second patch applied, will commit later today.

  thanks,

Daniel
Comment 6 Daniel Veillard 2009-08-11 15:37:42 UTC
fixed long ago, Daniel