diff src/java.base/unix/native/libnet/DefaultProxySelector.c @ 52882:c470f977ade8

8214014: Remove vestiges of gopher: protocol proxy support Reviewed-by: lancea, alanb
author rriggs
date Wed, 28 Nov 2018 16:04:36 -0500
parents 71c04702a3d5
children
line wrap: on
line diff
--- a/src/java.base/unix/native/libnet/DefaultProxySelector.c	Wed Nov 28 15:53:49 2018 -0500
+++ b/src/java.base/unix/native/libnet/DefaultProxySelector.c	Wed Nov 28 16:04:36 2018 -0500
@@ -59,8 +59,6 @@
  * - /system/proxy/ftp_port                     int
  * - /system/proxy/secure_port                  int
  * - /system/proxy/no_proxy_for                 list
- * - /system/proxy/gopher_host                  string
- * - /system/proxy/gopher_port                  int
  *
  * The following keys are not used in the new gnome 3
  * - /system/http_proxy/use_http_proxy
@@ -224,18 +222,6 @@
             }
 
             /**
-             * GOPHER:
-             * /system/proxy/mode (string) [ "manual" means use proxy settings ]
-             * /system/proxy/gopher_host (string)
-             * /system/proxy/gopher_port (integer)
-             */
-            if (strcasecmp(cproto, "gopher") == 0) {
-                phost = (*my_get_string_func)(gconf_client, "/system/proxy/gopher_host", NULL);
-                pport = (*my_get_int_func)(gconf_client, "/system/proxy/gopher_port", NULL);
-                use_proxy = (phost != NULL && pport != 0);
-            }
-
-            /**
              * SOCKS:
              * /system/proxy/mode (string) [ "manual" means use proxy settings ]
              * /system/proxy/socks_host (string)