codeconsole commented on PR #1264:
URL: https://github.com/apache/tomcat/pull/1264#issuecomment-7076285748

   Thanks for testing it, including the `start()` path. I've added tests for 
that path, for `dispatch()` from `start()` both before and after the request 
thread leaves `service()`, and I've widened the fix in f2da85a1e6:
   
   - A dispatch that records a failure and returns, or throws after the client 
has gone, used to get `onComplete, onError, onComplete`. It now gets `onError` 
and then a single `onComplete`.
   - `sendError()` followed by a new async cycle that the dispatch ends with 
`complete()` or `dispatch()` no longer gets `onError(null)`.
   
   The tests wait for the access log entry rather than a fixed delay, check the 
throwable `onError` receives, and check that the in-progress async count 
returns to zero. I've also merged current `main` into the branch (455f626ffa). 
The only conflict was the changelog, and I kept both entries.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to