RFR[9] JDK-8170641: sun/net/www/protocol/https/HttpsURLConnection/PostThruProxy.sh fails with timeout
Chris Hegarty
chris.hegarty at oracle.com
Tue Jan 3 14:09:55 UTC 2017
On 27 Dec 2016, at 06:24, John Jiang <sha.jiang at oracle.com> wrote:
>
> Hi,
> sun/net/www/protocol/https/HttpsURLConnection/PostThruProxy.sh failed with timeout.
> The client side could hang if the server goes to timeout before getting the client request, and the proxy also could be blocked.
>
> This patch sets timeout for the server and the client and catches SocketTimeoutException to ignore the . And it removes the usage on shell script.
> The patch also modifies test sun/net/www/protocol/https/HttpsURLConnection/PostThruProxyWithAuth.sh as this test has the similar code pattern and issue.
>
> Webrev: http://cr.openjdk.java.net/~jjiang/8170641/webrev.00/
> Issue: https://bugs.openjdk.java.net/browse/JDK-8170641
Looks good John.
Thanks,
-Chris.
More information about the net-dev
mailing list