Github user shinrich commented on the issue: https://github.com/apache/trafficserver/pull/842 Thanks @maskit. Looking at your debug messages and comparing it to my own, I realized that I was not running completely up to date with master. Once got the right version of the code, I saw the same assert that you did. The problem was that the new loop was always reenabling at the end even if the client side connection had shutdown (by sending a goaway frame). The reenable called setenable which triggered the !closed assert. I added a is_client_closed method to Http2ClientSession and used it to protect the call to reenable. With that change, the asserts don't occur.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---