We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 276a104 commit bf4c5e6Copy full SHA for bf4c5e6
java/org/apache/tomcat/util/net/NioEndpoint.java
@@ -1254,6 +1254,7 @@ protected void doClose() {
1254
getSocket().close(true);
1255
}
1256
if (getEndpoint().running) {
1257
+ getSocket().reset(null, null);
1258
if (nioChannels == null || !nioChannels.push(getSocket())) {
1259
getSocket().free();
1260
webapps/docs/changelog.xml
@@ -227,6 +227,10 @@
227
Improve warnings when setting ciphers lists in the FFM code, mirrorring
228
the tomcat-native changes. (remm)
229
</fix>
230
+ <fix>
231
+ <bug>69910</bug>: Dereference TLS objects right after closing a socket
232
+ to improve memory efficiency. (remm)
233
+ </fix>
234
</changelog>
235
</subsection>
236
<subsection name="Jasper">
0 commit comments