This is an automated email from the ASF dual-hosted git repository. zwoop pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.0.x by this push: new 7aa3c7a Moved printing the incoming headers for debug before remapping 7aa3c7a is described below commit 7aa3c7ac10468884f403260ec1286152660de760 Author: Bryan Call <bc...@apache.org> AuthorDate: Wed Mar 25 16:35:29 2020 -0700 Moved printing the incoming headers for debug before remapping (cherry picked from commit adc02486fef9a720c7dc1c0b217a67848fce9745) --- proxy/http/HttpTransact.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc index 6ff0ccf..dcb2d5c 100644 --- a/proxy/http/HttpTransact.cc +++ b/proxy/http/HttpTransact.cc @@ -851,6 +851,7 @@ HttpTransact::StartRemapRequest(State *s) TxnDebug("http_trans", "Before Remapping:"); obj_describe(s->hdr_info.client_request.m_http, true); } + DUMP_HEADER("http_hdrs", &s->hdr_info.client_request, s->state_machine_id, "Incoming Request"); if (s->http_config_param->referer_filter_enabled) { s->filter_mask = URL_REMAP_FILTER_REFERER; @@ -1422,11 +1423,6 @@ HttpTransact::HandleRequest(State *s) TRANSACT_RETURN(SM_ACTION_INTERNAL_REQUEST, nullptr); } - // this needs to be called after initializing state variables from request - // it adds the client-ip to the incoming client request. - - DUMP_HEADER("http_hdrs", &s->hdr_info.client_request, s->state_machine_id, "Incoming Request"); - if (s->state_machine->plugin_tunnel_type == HTTP_PLUGIN_AS_INTERCEPT) { setup_plugin_request_intercept(s); return;