Github user shinrich commented on the pull request: https://github.com/apache/trafficserver/pull/576#issuecomment-211571394 Agreed that this is snakey logic. Should take necessary time to review. I just pushed a new version (will squash at the end). Changed the assert as suggested by James and then tracked down errors in the regress test because my original test was too broad. I only changed one of the ink_asserts to a ink_release_assert. That pattern occurs numerous times in InkAPI.cc.
--- 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. ---