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/11/06 10:11:40 UTC

[tomcat] branch master updated: Remove duplicate put operation

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 <re...@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