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/02/15 21:11:41 UTC
svn commit: r1783150 -
/tomcat/tc8.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java
Author: markt
Date: Wed Feb 15 21:11:41 2017
New Revision: 1783150
URL: http://svn.apache.org/viewvc?rev=1783150&view=rev
Log:
Simplify logic
comet is always false as this point
Modified:
tomcat/tc8.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java
Modified: tomcat/tc8.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java?rev=1783150&r1=1783149&r2=1783150&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java (original)
+++ tomcat/tc8.0.x/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java Wed Feb 15 21:11:41 2017
@@ -274,7 +274,7 @@ public class CoyoteAdapter implements Ad
AsyncContextImpl asyncConImpl = request.getAsyncContextInternal();
req.getRequestProcessor().setWorkerThreadName(Thread.currentThread().getName());
try {
- if (!request.isAsync() && !comet) {
+ if (!request.isAsync()) {
// Error or timeout - need to tell listeners the request is over
// Have to test this first since state may change while in this
// method and this is only required if entering this method in
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org