mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +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
|
@ -296,8 +296,7 @@ Java_sun_net_spi_DefaultProxySelector_getSystemProxies(JNIEnv *env,
|
|||
|
||||
/* Set the default port value & proxy type from protocol. */
|
||||
if ((wcscmp(lpProto, L"http") == 0) ||
|
||||
(wcscmp(lpProto, L"ftp") == 0) ||
|
||||
(wcscmp(lpProto, L"gopher") == 0))
|
||||
(wcscmp(lpProto, L"ftp") == 0))
|
||||
defport = 80;
|
||||
if (wcscmp(lpProto, L"https") == 0)
|
||||
defport = 443;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue