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 605048 - Use http_proxy variable if not overridden
Use http_proxy variable if not overridden
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2009-12-20 10:36 UTC by Christian Dywan
Modified: 2011-11-12 14:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proxy support using libproxy (9.94 KB, patch)
2010-03-02 07:51 UTC, Yorick Hardy
none Details | Review

Description Christian Dywan 2009-12-20 10:36:05 UTC
Currently libsoup ignores the http_proxy environment variable. It should fallback to http_proxy if there is no proxy set in gconf or if the GNOME proxy resolver is not used, at startup.
Comment 1 Yorick Hardy 2010-03-02 07:51:44 UTC
Created attachment 155008 [details] [review]
Proxy support using libproxy

Patch to use libproxy for proxy resolution based largely
on the gnome proxy resolution code.
Comment 2 Yorick Hardy 2010-03-02 07:53:02 UTC
Does this address the problem where the GNOME proxy resolver is not used?
Comment 3 Dan Winship 2011-11-12 14:44:34 UTC
libsoup.so now (since 2.34) has SoupProxyResolverDefault, which uses GProxyResolver, which picks up libproxy via the glib-networking module. So while it does not *automatically* use http_proxy, all you have to do is tell the session to use a SoupProxyResolverDefault.