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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

remm
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 <[hidden email]>
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: [hidden email]
For additional commands, e-mail: [hidden email]