This PR reduces the execution time of ProxyAuthTest. Before this change the test always required at least 3 minutes to complete (6x 30 seconds timeout in `SSLSocketTemplate`'s `sslServerSocket.accept()`). After this change the test does not open a server socket when it is not necessary.
The test continues to pass. ------------- Commit messages: - Speed up https ProxyAuthTest Changes: https://git.openjdk.org/jdk/pull/10539/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10539&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8186765 Stats: 11 lines in 1 file changed: 11 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/10539.diff Fetch: git fetch https://git.openjdk.org/jdk pull/10539/head:pull/10539 PR: https://git.openjdk.org/jdk/pull/10539