This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 7.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit d2d46f0a220066329c258e5fd6d3be355c5ea232 Author: Mark Thomas <ma...@apache.org> AuthorDate: Tue Oct 15 21:27:10 2019 +0100 Remove an illegal state transition --- java/org/apache/coyote/AsyncStateMachine.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/org/apache/coyote/AsyncStateMachine.java b/java/org/apache/coyote/AsyncStateMachine.java index 8363afa..3200fbe 100644 --- a/java/org/apache/coyote/AsyncStateMachine.java +++ b/java/org/apache/coyote/AsyncStateMachine.java @@ -273,7 +273,7 @@ public class AsyncStateMachine<S> { // Processing is on a container thread so no need to transfer // processing to a new container thread state = AsyncState.MUST_COMPLETE; - } else if (state == AsyncState.STARTED || state == AsyncState.COMPLETE_PENDING) { + } else if (state == AsyncState.STARTED) { state = AsyncState.COMPLETING; // A dispatch to a container thread is always required. // If on a non-container thread, need to get back onto a container @@ -329,7 +329,7 @@ public class AsyncStateMachine<S> { // Processing is on a container thread so no need to transfer // processing to a new container thread state = AsyncState.MUST_DISPATCH; - } else if (state == AsyncState.STARTED || state == AsyncState.DISPATCH_PENDING) { + } else if (state == AsyncState.STARTED) { state = AsyncState.DISPATCHING; // A dispatch to a container thread is always required. // If on a non-container thread, need to get back onto a container --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org