diff -r 7c86bd1e9a43 -r a6180efe1d58 src/java.net.http/share/classes/jdk/internal/net/http/common/SSLFlowDelegate.java --- a/src/java.net.http/share/classes/jdk/internal/net/http/common/SSLFlowDelegate.java Tue Jun 26 13:19:01 2018 +0100 +++ b/src/java.net.http/share/classes/jdk/internal/net/http/common/SSLFlowDelegate.java Wed Jun 27 21:24:56 2018 +0100 @@ -448,6 +448,7 @@ } catch (IOException ex) { errorCommon(ex); handleError(ex); + return; } if (handshaking && !complete) return;