-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b21
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8271462 | 15.0.5 | Yuri Nesterenko | P4 | Resolved | Fixed | b01 |
JDK-8271547 | 13.0.9 | Alexey Bakhtin | P4 | Resolved | Fixed | b01 |
JDK-8268402 | 11.0.13-oracle | Sean Coffey | P4 | Resolved | Fixed | b01 |
JDK-8270934 | 11.0.13 | Martin Doerr | P4 | Resolved | Fixed | b01 |
JDK-8272456 | openjdk8u312 | Martin Doerr | P4 | Resolved | Fixed | b03 |
JDK-8268466 | 8u311 | Sean Coffey | P4 | Resolved | Fixed | b01 |
JDK-8268467 | 7u321 | Sean Coffey | P4 | Resolved | Fixed | b01 |
JDK-8273320 | openjdk7u | Michael McMahon | P4 | Resolved | Fixed | master |
diff --git a/src/jdk.httpserver/share/classes/sun/net/httpserver/SSLStreams.java b/src/jdk.httpserver/share/classes/sun/net/httpserver/SSLStreams.java
index 6e362d07aa4..7b44275b78f 100644
--- a/src/jdk.httpserver/share/classes/sun/net/httpserver/SSLStreams.java
+++ b/src/jdk.httpserver/share/classes/sun/net/httpserver/SSLStreams.java
@@ -430,11 +430,17 @@ class SSLStreams {
handshaking.lock();
ByteBuffer tmp = allocate(BufType.APPLICATION);
WrapperResult r;
+ Status st;
+ HandshakeStatus hs;
do {
tmp.clear();
tmp.flip ();
r = wrapper.wrapAndSendX (tmp, true);
- } while (r.result.getStatus() != Status.CLOSED);
+ hs = r.result.getHandshakeStatus();
+ st = r.result.getStatus();
+ } while (st != Status.CLOSED &&
+ !(st == Status.OK
+ && hs == HandshakeStatus.NOT_HANDSHAKING));
} finally {
handshaking.unlock();
}
- backported by
-
JDK-8268402 com.sun.net.HttpsServer spins on TLS session close
- Resolved
-
JDK-8268466 com.sun.net.HttpsServer spins on TLS session close
- Resolved
-
JDK-8268467 com.sun.net.HttpsServer spins on TLS session close
- Resolved
-
JDK-8270934 com.sun.net.HttpsServer spins on TLS session close
- Resolved
-
JDK-8271462 com.sun.net.HttpsServer spins on TLS session close
- Resolved
-
JDK-8271547 com.sun.net.HttpsServer spins on TLS session close
- Resolved
-
JDK-8272456 com.sun.net.HttpsServer spins on TLS session close
- Resolved
-
JDK-8273320 com.sun.net.HttpsServer spins on TLS session close
- Resolved
- duplicates
-
JDK-8262845 HttpServer wedged in doClosure
- Closed
-
JDK-8265324 SSLStreams doClosure() deadlock in server thread if connection is lost
- Closed
- relates to
-
JDK-8265324 SSLStreams doClosure() deadlock in server thread if connection is lost
- Closed
- links to
-
Commit openjdk/jdk11u-dev/2696643c
-
Commit openjdk/jdk13u-dev/b3236af7
-
Commit openjdk/jdk15u-dev/8e6f409a
-
Commit openjdk/jdk/953e472d
-
Review openjdk/jdk11u-dev/141
-
Review openjdk/jdk13u-dev/246
-
Review openjdk/jdk15u-dev/83
-
Review openjdk/jdk/742