< prev index next >

src/java.base/share/native/libjava/System.c

Print this page
rev 52699 : 8214014: Remove vestiges of gopher: protocol proxy support

@@ -182,19 +182,10 @@
     if (sprops->socksProxyEnabled) {
         PUTPROP(propArray, _socksProxyHost_NDX, sprops->socksHost);
         PUTPROP(propArray, _socksProxyPort_NDX, sprops->socksPort);
     }
 
-    if (sprops->gopherProxyEnabled) {
-        // The gopher client is different in that it expects an 'is this set?' flag that the others don't.
-        PUTPROP(propArray, _gopherProxySet_NDX, "true");
-        PUTPROP(propArray, _gopherProxyHost_NDX, sprops->gopherHost);
-        PUTPROP(propArray, _gopherProxyPort_NDX, sprops->gopherPort);
-    } else {
-        PUTPROP(propArray, _gopherProxySet_NDX, "false");
-    }
-
     // Mac OS X only has a single proxy exception list which applies
     // to all protocols
     if (sprops->exceptionList) {
         PUTPROP(propArray, _http_nonProxyHosts_NDX, sprops->exceptionList);
         PUTPROP(propArray, _ftp_nonProxyHosts_NDX, sprops->exceptionList);
< prev index next >