trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owens, Steve" <Steve.Ow...@disney.com>
Subject Re: Quetion on API method
Date Thu, 24 Jan 2013 19:14:41 GMT
Thank you.  This is most helpful.

From: Brian Geffon <briang@apache.org<mailto:briang@apache.org>>
Reply-To: "users@trafficserver.apache.org<mailto:users@trafficserver.apache.org>" <users@trafficserver.apache.org<mailto:users@trafficserver.apache.org>>
Date: Thu, 24 Jan 2013 10:34:15 -0800
To: "users@trafficserver.apache.org<mailto:users@trafficserver.apache.org>" <users@trafficserver.apache.org<mailto:users@trafficserver.apache.org>>
Subject: Re: Quetion on API method

You only need to call TSContDataSet once. Once the void* has been set it will remain set for
the life of the transaction, you can then use TSContDataGet and cast it back to the type of
your structure.

Brian

On Thu, Jan 24, 2013 at 10:30 AM, Igor Homyakov <homyakov@gmail.com<mailto:homyakov@gmail.com>>
wrote:
Hi Steve

I would recomend you to have a look at  legacy SDK documentation http://trafficserver.apache.org/docs/v2/sdk/INKContDataSet.html


On Thu, Jan 24, 2013 at 10:17 PM, Owens, Steve <Steve.Owens@disney.com<mailto:Steve.Owens@disney.com>>
wrote:
Hello all,  I have done my best to read the manual but I can't seem to find any decent documentation
on the API method TSContDataSet.

In particular, how often do we need to call this method in a plugin?

Can we allocate data and set it to the continuation once and thereafter modify mebers of the
structure?

OR do we need to call it each time we modify a member of the structure set by this method
so that when the continuation gets reactivated the changes appear in subsequent invocations?





Mime
View raw message