[
https://issues.apache.org/jira/browse/TS-3429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246516#comment-15246516
]
ASF GitHub Bot commented on TS-3429:
------------------------------------
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.
> TSContScheduleEvery does not increment event count correctly
> ------------------------------------------------------------
>
> Key: TS-3429
> URL: https://issues.apache.org/jira/browse/TS-3429
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Reporter: Bin
> Assignee: Susan Hinrichs
> Fix For: 6.2.0
>
>
> TSContScheduleEvery only increments the event count the first time it is
> scheduled. When the event handler gets invoked, it decrements the event
> count. So it triggers the assertion at InkAPI.cc:987.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)