You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2015/03/06 05:02:39 UTC

[jira] [Comment Edited] (TS-3428) Replace TSContScheduleEvery with TSContSchedule.

    [ https://issues.apache.org/jira/browse/TS-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14349921#comment-14349921 ] 

Leif Hedstrom edited comment on TS-3428 at 3/6/15 4:02 AM:
-----------------------------------------------------------

Huh, when / where was TSContScheduleEvery() deprecated ? Deprecating an API because it has bugs seems incredibly draconian. Are you saying there's no way to fix this API such that it works correctly ?


was (Author: zwoop):
Huh, when / where was TSContScheduleEvery() deprecated ?

> 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
>         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)