>
> 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.
  • ... Eric Friedrich -X (efriedri - TRITON UK BIDCO LIMITED c/o Alter Domus (UK) Limited -OBO at Cisco)
    • ... Shu Kit Chan
      • ... Eric Friedrich -X (efriedri - TRITON UK BIDCO LIMITED c/o Alter Domus (UK) Limited -OBO at Cisco)
        • ... Leif Hedstrom
          • ... Eric Friedrich -X (efriedri - TRITON UK BIDCO LIMITED c/o Alter Domus (UK) Limited -OBO at Cisco)
            • ... Alan Carroll
              • ... Alan Carroll
                • ... Eric Friedrich -X (efriedri - TRITON UK BIDCO LIMITED c/o Alter Domus (UK) Limited -OBO at Cisco)
                • ... Alan Carroll
                • ... Alan Carroll
                • ... Alan Carroll
                • ... Aaron Canary
                • ... Eric Friedrich
      • ... Walt Karas
        • ... Walt Karas

Reply via email to