You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by James Peach <ja...@me.com> on 2013/01/28 19:08:25 UTC

Re: Regarding TSCont

On Jan 28, 2013, at 9:34 AM, Manas Agarwal <ma...@gmail.com> wrote:

> Hi All,
> 
> I create a Cont in Cache Read request and call TSCacheRead within read request.
> Sometimes the cont is called immediately and sometimes it is called afterwards.
> ie after read request or post remap events.

TSCacheRead() returns a TSAction. It might complete in line, and you must use TSActionDone() to check for this case. There is no guarantee WRT the plugin hooks; the continuation might get called at any time.

> Can I get a somehow a deterministic behavior in this.
> 
> Regards,
> Manas