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: API Question
Date Fri, 15 Mar 2013 16:27:00 GMT
James,

Thank you.  The reason for my question is explained in my response to
Shaun's explanation on this group.  But the summary is I wanted to know if
I was mis using the method.

Steve

On 3/14/13 8:11 PM, "James Peach" <jpeach@apache.org> wrote:

>On 14/03/2013, at 5:13 PM, "Owens, Steve" <Steve.Owens@disney.com> wrote:
>
>> In looking at the following documentation:
>>http://trafficserver.apache.org/docs/trunk/sdk/io-guide/transformations.e
>>n.html
>> 
>> It would seem that the only mention of TSVConnWrite is to a single
>>parameter method.
>> 
>> Yet in my plugin I am using
>> 
>> data->output_vio = TSVConnWrite(output_conn, contp, data->output_reader,
>>                                 INT64_MAX);
>> 
>> What has changed about this method?
>> 
>> What does it actually do?
>
>It schedules data to be written to the VConnection.
>
>> 
>> Do I need to call it every time the plugin is re-enabled?  Or can I
>>just call it once?
>
>I don't know that I really understand the question, but if the length is
>INT64_MAX you would only call it once. If you want you can call it a
>multiple times with shorter lengths.
>
>J


Mime
View raw message