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

@ -417,13 +417,11 @@ void setProxyProperties(java_props_t *sProps) {
cf_httpsHost = NULL,
cf_ftpHost = NULL,
cf_socksHost = NULL,
cf_gopherHost = NULL;
int
httpPort = 80, // Default proxy port values
httpsPort = 443,
ftpPort = 21,
socksPort = 1080,
gopherPort = 70;
CFDictionaryRef dict = SCDynamicStoreCopyProxies(NULL);
if (dict == NULL) return;
@ -479,7 +477,6 @@ void setProxyProperties(java_props_t *sProps) {
CHECK_PROXY(https, HTTPS);
CHECK_PROXY(ftp, FTP);
CHECK_PROXY(socks, SOCKS);
CHECK_PROXY(gopher, Gopher);
#undef CHECK_PROXY