< prev index next >

src/java.base/windows/native/libnet/DefaultProxySelector.c

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

*** 294,305 **** int defport = 0; int nr_elems = 0; /* 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)) defport = 80; if (wcscmp(lpProto, L"https") == 0) defport = 443; if (wcscmp(lpProto, L"socks") == 0) { defport = 1080; --- 294,304 ---- int defport = 0; int nr_elems = 0; /* Set the default port value & proxy type from protocol. */ if ((wcscmp(lpProto, L"http") == 0) || ! (wcscmp(lpProto, L"ftp") == 0)) defport = 80; if (wcscmp(lpProto, L"https") == 0) defport = 443; if (wcscmp(lpProto, L"socks") == 0) { defport = 1080;
< prev index next >