[gnome-shell] extensionDownloader: Stop setting proxy resolver explicitly



commit f14960ff0314167e10d31196654feae244cd8631
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Aug 4 00:24:41 2021 +0200

    extensionDownloader: Stop setting proxy resolver explicitly
    
    Quoting the documentation:
    
      In libsoup 2.44 and later, you can set the session's “proxy-resolver”
      property to the resolver returned by g_proxy_resolver_get_default() to
      get the same effect. Note that for "plain" SoupSessions (ie, not
      SoupSessionAsync or SoupSessionSync), this is done for you automatically.
    
    libsoup 2.44 was released in 2013, so we can safely assume that Soup is
    new enough to handle this for us.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1940>

 js/ui/extensionDownloader.js | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js
index 3b64ec4b9c..08cea59318 100644
--- a/js/ui/extensionDownloader.js
+++ b/js/ui/extensionDownloader.js
@@ -253,8 +253,4 @@ class InstallExtensionDialog extends ModalDialog.ModalDialog {
 
 function init() {
     _httpSession = new Soup.Session({ ssl_use_system_ca_file: true });
-
-    // See: https://bugzilla.gnome.org/show_bug.cgi?id=655189 for context.
-    // _httpSession.add_feature(new Soup.ProxyResolverDefault());
-    Soup.Session.prototype.add_feature.call(_httpSession, new Soup.ProxyResolverDefault());
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]