You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/08/03 18:53:32 UTC

[GitHub] [trafficserver] ezelkow1 commented on a change in pull request #8049: Add PS debug to store requesting URL and add to notes

ezelkow1 commented on a change in pull request #8049:
URL: https://github.com/apache/trafficserver/pull/8049#discussion_r682018606



##########
File path: proxy/ParentSelection.cc
##########
@@ -126,6 +127,9 @@ ParentConfigParams::findParent(HttpRequestData *rdata, ParentResult *result, uns
   tablePtr->Match(rdata, result);
   rec = result->rec;
 
+  // Set the result url string to store the URL request that initiated this
+  result->url = rdata->get_string();

Review comment:
       getting back to this, Im not sure if there is a good one specific free location, so I figure instead I have to take the approach of storing the rdata ptr and just do get_string/free when I need to use it. So Im testing with that now




-- 
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: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org