jpeach commented on issue #5742:
URL: https://github.com/apache/trafficserver/issues/5742#issuecomment-1535559991
> A note should be added to the document, TSUrlHostGet only allows calls
after TS_HTTP_POST_REMAP_HOOK。
I'm not sure that is correct. `TSUrlHostGet` takes a URL from a marshal
buffer, so as long as that buffer has the host portion set, it should be OK.
So you could do
```
TSMBufferCreate(...)
TSUrlParse(...)
TSUrlHostGet(...)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]