TSIOBUFFERREADER(3ts) | Apache Traffic Server | TSIOBUFFERREADER(3ts) |
TSIOBufferReader - traffic Server IO buffer reader API
#include <ts/ts.h>
TSIOBufferReader is an read accessor for TSIOBuffer. It represents a location in the contents of the buffer. A buffer can have multiple readers and each reader consumes data in the buffer independently. Data which for which there are no readers is discarded from the buffer. This has two very important consequences --
A buffer has a fixed amount of possible readers (currently 5) which is determined at compile time. Reader allocation is fast and cheap until this maximum is reached at which point it fails.
NOTE:
NOTE:
2023, dev@trafficserver.apache.org
November 2, 2023 | 9.2 |