You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by "Owens, Steve" <St...@disney.com> on 2013/01/25 00:11:58 UTC
TSVConnWrite and TSIOBufferWrite
It is a little muddy to me (even after reading all available documentation) why some of the examples in the Traffic server examples contain lines of code such as:
data->output_vio = TSVConnWrite(output_conn, contp, data->output_reader,
INT64_MAX);
What is the relationship between TSVConnWrite and TSIOBufferWrite.
For example in handling a transformation if you have multiple calls to TSIOBufferWrite,
Should you keep track of all of the data written and then make a single call to TSVConnWrite?
Or should you call TSVConnWrite with the amount of data to be written just prior to each TSIOBufferWrite?