https://bz.apache.org/bugzilla/show_bug.cgi?id=63892
--- Comment #5 from Remy Maucherat <r...@apache.org> ---
Looking at it, it seems to do the same on Java 11, so the BZ is likely
misleading.

After unwrap there's a task being run, after the task is run in the tasks()
method, the handshake status is returned as NOT_HANDSHAKING by the SSL engine.
I don't understand what is going on or what the failure is at this point, but
it might not be a Tomcat issue.

We could probably add additional debug logging in SecureNio(2)Channel to trace
the  processing of handshake() when needed.

05-Nov-2019 11:09:26.157 FINE [https-jsse-nio-8443-exec-1]
org.apache.tomcat.util.net.SecureNioChannel.handshake handshakeStatus:
NEED_UNWRAP
Run task: sun.security.ssl.SSLEngineImpl$DelegatedTask@4de31d09
sslEngine.getHandshakeStatus() after tasks: NEED_WRAP
05-Nov-2019 11:09:26.236 FINE [https-jsse-nio-8443-exec-1]
org.apache.tomcat.util.net.SecureNioChannel.handshake handshakeStatus:
NEED_WRAP
05-Nov-2019 11:09:26.237 FINE [https-jsse-nio-8443-exec-1]
org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.registerWriteInterest
Registered write interest for
[org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper@1184d389:org.apache.tomcat.util.net.SecureNioChannel@1ebc5f1c:java.nio.channels.SocketChannel[connected
local=/0:0:0:0:0:0:0:1:8443 remote=/0:0:0:0:0:0:0:1:57612]]
05-Nov-2019 11:09:26.237 FINE [https-jsse-nio-8443-exec-2]
org.apache.tomcat.util.net.SecureNioChannel.handshake handshakeStatus:
NEED_WRAP
05-Nov-2019 11:09:26.238 FINE [https-jsse-nio-8443-exec-2]
org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.registerWriteInterest
Registered write interest for
[org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper@1184d389:org.apache.tomcat.util.net.SecureNioChannel@1ebc5f1c:java.nio.channels.SocketChannel[connected
local=/0:0:0:0:0:0:0:1:8443 remote=/0:0:0:0:0:0:0:1:57612]]
05-Nov-2019 11:09:26.238 FINE [https-jsse-nio-8443-exec-3]
org.apache.tomcat.util.net.SecureNioChannel.handshake handshakeStatus:
NEED_WRAP
05-Nov-2019 11:09:26.247 FINE [https-jsse-nio-8443-exec-3]
org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.registerReadInterest
Registered read interest for
[org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper@1184d389:org.apache.tomcat.util.net.SecureNioChannel@1ebc5f1c:java.nio.channels.SocketChannel[connected
local=/0:0:0:0:0:0:0:1:8443 remote=/0:0:0:0:0:0:0:1:57612]]
05-Nov-2019 11:09:26.251 FINE [https-jsse-nio-8443-exec-4]
org.apache.tomcat.util.net.SecureNioChannel.handshake handshakeStatus:
NEED_UNWRAP
Run task: sun.security.ssl.SSLEngineImpl$DelegatedTask@427c714f
sslEngine.getHandshakeStatus() after tasks: NOT_HANDSHAKING

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to