trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owens, Steve" <Steve.Ow...@disney.com>
Subject TSVConnWrite and TSIOBufferWrite
Date Thu, 24 Jan 2013 23:11:58 GMT
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?



Mime
View raw message