You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2019/05/22 08:05:39 UTC

[tomcat] branch master updated: Remove another instance of extra socket close

This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new 80a5c0c  Remove another instance of extra socket close
80a5c0c is described below

commit 80a5c0c5ae5ac23a4185b5cdea9479e40cef427d
Author: remm <re...@apache.org>
AuthorDate: Wed May 22 10:05:27 2019 +0200

    Remove another instance of extra socket close
---
 java/org/apache/tomcat/util/net/SecureNioChannel.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/SecureNioChannel.java b/java/org/apache/tomcat/util/net/SecureNioChannel.java
index 093fd8e..7458b21 100644
--- a/java/org/apache/tomcat/util/net/SecureNioChannel.java
+++ b/java/org/apache/tomcat/util/net/SecureNioChannel.java
@@ -535,7 +535,6 @@ public class SecureNioChannel extends NioChannel {
         } finally {
             if (force || closed) {
                 closed = true;
-                sc.socket().close();
                 sc.close();
             }
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org