[
https://issues.apache.org/jira/browse/TS-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14350458#comment-14350458
]
Leif Hedstrom edited comment on TS-3428 at 3/6/15 3:25 PM:
-----------------------------------------------------------
Ok, makes sense. Should we maybe clone this bug into two bugs, one about fixing
the problems with TSContScheduleEvery() and one with changing whatever it is in
cppapi that needs to be changed? My gut reaction though is that not using the
API due to problems is "cheating" a little bit :-).
Also, the reason I asked about deprecation is that the comment in the patch
specifically says the reason for the change in cppapi is that the API is both
broken and deprecated.
Thanks!
was (Author: zwoop):
Ok, makes sense. Should we maybe clone this bug into two bugs, one about fixing
the problems with TSContScheduleEvery() and one with changing whatever it is in
cppapi that needs to be changed? My gut reaction though is that not using the
API due to problems is "cheating" a little bit :-).
Thanks!
> Replace TSContScheduleEvery with TSContSchedule.
> ------------------------------------------------
>
> Key: TS-3428
> URL: https://issues.apache.org/jira/browse/TS-3428
> Project: Traffic Server
> Issue Type: Bug
> Components: CPP API
> Reporter: Bin
> Assignee: Brian Geffon
> Fix For: 6.0.0
>
> Attachments: atscppapi_TSContScheduleEvery_1.diff
>
>
> TSContScheduleEvery is broken. It does not update the event count correctly,
> and thus triggers an assertion at line InkAPI.cc:987
> We replace it with TSContScheduleEvery with TSContSchedule. Inside the event
> handler callback, we schedule the continuation again. briang is the expert on
> this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)