Hi dev, First email to this mailing list, excited to be here! I'm new to ATS development so please bear with me.
Briefly, I want to inspect the content data of HTTP responses for all of my Transactions and store them on disk / in memory. From a few hours of reading, I've decided that creating a Transform plugin and reading from VIOs is the correct way to do this, please correct me if I'm wrong. I'm working off of this example: https://github.com/apache/trafficserver/blob/master/example/txn-data-sink/txn-data-sink.c I want to grab the bytes from the TSIOBufferReader, but I'm poking around and can't find a way to do this in 5.3.x. I read the 7.1.0 docs which seems to have a TSIOBufferReaderRead() function which seems to do exactly what I want -- that is, consume N bytes from the TSIOBufferReader and copy the data into a char *buffer. Unfortunately it seems that function isn't available in stable releases. How would I do this in 5.3.x? Thanks in advance! Dan