GNOME Bugzilla – Bug 552140
[soup] use libsoup-gnome for proxy configuration if available
Last modified: 2009-02-02 17:40:04 UTC
Please describe the problem: On my network, all traffic must go through the proxy. I can see the last.fm radio suggestions, but when I actually play a track, it fails on every track and does not allow me to stop playback, forcing me to kill rhythmbox. If I run rhythmbox from the command line with the http_proxy variable set, it works properly. Steps to reproduce: 1. Block all outbound traffic on port 80 except through proxy. 2. Play a last.fm radio stream 3. Actual results: Rhythmbox keeps scrolling through the tracks and marking them as unplayable, until I kill it. Expected results: Rhythmbox should pick up the proxy settings from gconf and play the music. Does this happen every time? Yes Other information: Ubuntu Intrepid Ibex, RB 0.11.6. AMD64.
This can be fixed pretty easily by using libsoup-gnome in souphttpsrc.
Created attachment 127199 [details] [review] fairly simple patch
commit 5a0e94b8a75be2e59617af31326bd5defaab0ac5 Author: Jonathan Matthew <jonathan@d14n.org> Date: Mon Jan 26 09:51:36 2009 +0100 Use libsoup-gnome for proxy configuration if available If libsoup-gnome is found use this as it will give us the GNOME proxy configuration. Otherwise use normal libsoup. The GNOME proxy configuration will only be used if the proxy properties are not set on souphttpsrc and if the http_proxy environment variable is not set. Fixes bug #552140.
Sorry, I somehow attached the wrong version of the patch. It should use SOUP_SESSION_ADD_FEATURE_BY_TYPE instead of SOUP_SESSION_ADD_FEATURE.
Created attachment 127763 [details] [review] trivial fix
commit 9218eae98bcb31bab78602c5c26813ac09623d9c Author: Jonathan Matthew <notverysmart@gmail.com> Date: Mon Feb 2 18:37:35 2009 +0100 Use correct flag for the GNOME proxy configuration Fixes bug #552140.