RE: RFR:8170868: DefaultProxySelector should use system defaults on Windows, MacOS and Gnome

2016-12-26 Thread Langer, Christoph
Hi Chris, Arno, as for a few points: > 1) It seems awful to have to deal with LinkedList in native code. How > about returning an array from native, and then converting that into > whatever list type is appropriate at the Java level. +1 > 2) I would prefer the use of List.of(...), and li

RFR[9] JDK-8170641: sun/net/www/protocol/https/HttpsURLConnection/PostThruProxy.sh fails with timeout

2016-12-26 Thread John Jiang
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 SocketTime