Hello, Please review the following change:
http://cr.openjdk.java.net/~prappo/8180155/webrev.00/ This change addresses 2 separate issues: https://bugs.openjdk.java.net/browse/JDK-8180155 https://bugs.openjdk.java.net/browse/JDK-8156518 The first one is a busy-wait for data on the socket which manifests itself as non-returning invocation of WebSocket.request(long). The second one is an issue with a timeout for an asynchronous HTTP request. This issue affects both HttpClient and WebSocket implementations. Thanks, -Pavel