8214014: Remove vestiges of gopher: protocol proxy support

Reviewed-by: lancea, alanb
This commit is contained in:
Roger Riggs 2018-11-28 16:04:36 -05:00
parent c1034b1cad
commit 48d68d182a
12 changed files with 10 additions and 64 deletions

View file

@ -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
@ -223,18 +221,6 @@ static jobjectArray getProxyByGConf(JNIEnv *env, const char* cproto,
use_proxy = (phost != NULL && pport != 0);
}
/**
* 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 ]