> > Yes, it's a problem that TSIOBufferReaderRead doesn't exist yet. What you > should do is >
TSIOBufferBlock block = TSIOBufferStart(iobuff); char const* text = TSIOBufferBlockReadStart(block); text now points at the URL string. For the length you can use TSUrlLengthGet() or TSIOBufferReadAvail(). Note - this assumes the URL fits in a single block, the first block. You may want to use TSIOBufferSizedCreate with an index of TS_IOBUFFER_SIZE_INDEX_64K or more since URLs are limited to 64K in TS.