tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [tomcat] branch master updated: Remove duplicate put operation
Date Wed, 06 Nov 2019 10:11:40 GMT
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 785becd  Remove duplicate put operation
785becd is described below

commit 785becd891adc1d07bb695af0790322bbaa97a61
Author: remm <remm@apache.org>
AuthorDate: Wed Nov 6 11:11:31 2019 +0100

    Remove duplicate put operation
---
 java/org/apache/tomcat/util/net/AprEndpoint.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/AprEndpoint.java b/java/org/apache/tomcat/util/net/AprEndpoint.java
index 1fefe85..6361756 100644
--- a/java/org/apache/tomcat/util/net/AprEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AprEndpoint.java
@@ -685,7 +685,6 @@ public class AprEndpoint extends AbstractEndpoint<Long,Long> implements
SNICallB
             wrapper.setSecure(isSSLEnabled());
             wrapper.setReadTimeout(getConnectionTimeout());
             wrapper.setWriteTimeout(getConnectionTimeout());
-            connections.put(socket, wrapper);
             getExecutor().execute(new SocketWithOptionsProcessor(wrapper));
             return true;
         } catch (RejectedExecutionException x) {


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


Mime
View raw message