This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 5f950a0e69 Add support for NIO2
5f950a0e69 is described below
commit 5f950a0e69993846b6a3f23e2216501d8de19b0d
Author: remm <[email protected]>
AuthorDate: Mon Dec 1 23:34:09 2025 +0100
Add support for NIO2
---
java/org/apache/tomcat/util/net/SecureNio2Channel.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/java/org/apache/tomcat/util/net/SecureNio2Channel.java
b/java/org/apache/tomcat/util/net/SecureNio2Channel.java
index 97ac0fed90..3307d6516e 100644
--- a/java/org/apache/tomcat/util/net/SecureNio2Channel.java
+++ b/java/org/apache/tomcat/util/net/SecureNio2Channel.java
@@ -416,6 +416,7 @@ public class SecureNio2Channel extends Nio2Channel {
switch (extractor.getResult()) {
case COMPLETE:
hostName = extractor.getSNIValue();
+ socketWrapper.setSniHostName(hostName);
clientRequestedApplicationProtocols =
extractor.getClientRequestedApplicationProtocols();
//$FALL-THROUGH$ to set the client requested ciphers
case NOT_PRESENT:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]