[rygel] librygel-renderer: avoid using the http_proxy environment variable
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] librygel-renderer: avoid using the http_proxy environment variable
- Date: Sat, 14 Jun 2014 13:13:57 +0000 (UTC)
commit 87c720e1572eef1b59b1f5c13bd79c72f9125e2d
Author: Alexander Kanavin <alex kanavin gmail com>
Date: Mon Mar 24 19:54:26 2014 +0200
librygel-renderer: avoid using the http_proxy environment variable
https://bugzilla.gnome.org/show_bug.cgi?id=726982
src/librygel-renderer/rygel-av-transport.vala | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-av-transport.vala b/src/librygel-renderer/rygel-av-transport.vala
index 0959157..c3e0b99 100644
--- a/src/librygel-renderer/rygel-av-transport.vala
+++ b/src/librygel-renderer/rygel-av-transport.vala
@@ -139,17 +139,8 @@ internal class Rygel.AVTransport : Service {
this.player.notify["duration"].connect (this.notify_duration_cb);
- var proxy = Environment.get_variable ("http_proxy");
- if (proxy != null) {
- if (!proxy.has_prefix ("http://") &&
- !proxy.has_prefix ("https://")) {
- proxy = "http://" + proxy;
- }
- this.session = new Session.with_options (Soup.SESSION_PROXY_URI,
- new Soup.URI (proxy));
- } else {
- this.session = new Session ();
- }
+ this.session = new Session ();
+
this.protocol_info = plugin.get_protocol_info ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]