Github user calavera commented on a diff in the pull request:

    https://github.com/apache/trafficserver/pull/1184#discussion_r86410973
  
    --- Diff: proxy/InkAPI.cc ---
    @@ -9212,6 +9213,19 @@ TSUuidStringGet(const TSUuid uuid)
       return nullptr;
     }
     
    +const char *
    +TSClientRequestUuidGet(TSHttpTxn txnp)
    +{
    +  TSUuid process = TSProcessUuidGet();
    +  if (process) {
    +    std::ostringstream oss;
    +    oss << TSUuidStringGet(process) << '-' << TSHttpTxnIdGet(txnp);
    +    return oss.str().c_str();
    --- End diff --
    
    @bryancall agreed, maybe I should not use ostringstream at all to avoid 
that all together.
    
    @jpeach care to elaborate? I'm not completely sure what you mean with that.


---
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.
---

Reply via email to