trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject [trafficserver] branch master updated: Added debugging information on parent proxy
Date Mon, 08 Oct 2018 19:34:18 GMT
This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new feca1b4  Added debugging information on parent proxy
feca1b4 is described below

commit feca1b4d921667339d2d826455a601183a53fce6
Author: Bryan Call <bcall@apache.org>
AuthorDate: Mon Oct 8 11:35:46 2018 -0700

    Added debugging information on parent proxy
---
 proxy/http/HttpTransact.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index cc7f9f6..30900f2 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -260,6 +260,7 @@ find_server_and_update_current_info(HttpTransact::State *s)
     // Do not forward requests to local_host onto a parent.
     // I just wanted to do this for cop heartbeats, someone else
     // wanted it for all requests to local_host.
+    TxnDebug("http_trans", "request is from localhost, so bypass parent");
     s->parent_result.result = PARENT_DIRECT;
   } else if (s->method == HTTP_WKSIDX_CONNECT && s->http_config_param->disable_ssl_parenting)
{
     s->parent_params->findParent(&s->request_data, &s->parent_result,
s->txn_conf->parent_fail_threshold,


Mime
View raw message