You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2017/03/28 10:20:54 UTC

svn commit: r1789085 - /tomcat/tc8.0.x/trunk/java/org/apache/coyote/AbstractProtocol.java

Author: markt
Date: Tue Mar 28 10:20:54 2017
New Revision: 1789085

URL: http://svn.apache.org/viewvc?rev=1789085&view=rev
Log:
Follow-up to r1788999
Need to add socket/processor to connection cache so pipe-lined request is processed

Modified:
    tomcat/tc8.0.x/trunk/java/org/apache/coyote/AbstractProtocol.java

Modified: tomcat/tc8.0.x/trunk/java/org/apache/coyote/AbstractProtocol.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/coyote/AbstractProtocol.java?rev=1789085&r1=1789084&r2=1789085&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/java/org/apache/coyote/AbstractProtocol.java (original)
+++ tomcat/tc8.0.x/trunk/java/org/apache/coyote/AbstractProtocol.java Tue Mar 28 10:20:54 2017
@@ -750,6 +750,7 @@ public abstract class AbstractProtocol<S
                     // closed. If it works, the socket either be added to the
                     // poller (or equivalent) to await more data or processed
                     // if there are any pipe-lined requests remaining.
+                    connections.put(socket, processor);
                 } else if (state == SocketState.UPGRADED) {
                     // Don't add sockets back to the poller if this was a
                     // non-blocking write otherwise the poller may trigger



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