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