mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8214014: Remove vestiges of gopher: protocol proxy support
Reviewed-by: lancea, alanb
This commit is contained in:
parent
c1034b1cad
commit
48d68d182a
12 changed files with 10 additions and 64 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue