GitHub user calavera opened a pull request:
https://github.com/apache/trafficserver/pull/1184
TS-5030: Add API to get the unique client request uuid from a transaction.
The new UUID api introduced in
https://github.com/apache/trafficserver/pull/736 is great for tracing
operations and requests. However, the most useful information for plugin
developers, the unique client request id, is not exposed as an api endpoint.
People need to understand very well how TrafficServer works internally to
generate this value. By not having the API directly exposed, people need to
repeat the same code every time they want to generate this unique identifier.
I'd like to add an API enpoint to generate this identifier based in a given
http transaction for plugins to use.
This is be the signature:
```
tsapi const char * TSClientRequestUuidGet(TSHttpTxn txnp);
```
Signed-off-by: David Calavera <[email protected]>
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/calavera/trafficserver client_request_uuid
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/1184.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1184
----
commit 4b1a284784c93888c4d426065d9a578cd201fbd4
Author: David Calavera <[email protected]>
Date: 2016-11-03T15:04:42Z
TS-5030: Add API to get the unique client request uuid from a transaction.
Signed-off-by: David Calavera <[email protected]>
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---