Updated Branches: refs/heads/master ea35372ef -> 3775c866c
TS-2216 Fix cquuh log tag, which does not calculate the right string length. Also see TS-1988. Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/3775c866 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/3775c866 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/3775c866 Branch: refs/heads/master Commit: 3775c866cca2c2cb42703ab30fda52a80ffbea26 Parents: ea35372 Author: Leif Hedstrom <[email protected]> Authored: Mon Oct 21 17:27:17 2013 -0600 Committer: Leif Hedstrom <[email protected]> Committed: Mon Oct 21 17:27:17 2013 -0600 ---------------------------------------------------------------------- CHANGES | 3 +++ proxy/logging/LogAccessHttp.cc | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/3775c866/CHANGES ---------------------------------------------------------------------- diff --git a/CHANGES b/CHANGES index 0a1ded9..a626df1 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes with Apache Traffic Server 4.1.0 + *) [TS-2216] Fix cquuh log tag, which does not calculate the right + string length. + *) [TS-2275] fix interim cache lossing data if the server process crash Author: Gang Li. http://git-wip-us.apache.org/repos/asf/trafficserver/blob/3775c866/proxy/logging/LogAccessHttp.cc ---------------------------------------------------------------------- diff --git a/proxy/logging/LogAccessHttp.cc b/proxy/logging/LogAccessHttp.cc index ddc5c7d..cc89abc 100644 --- a/proxy/logging/LogAccessHttp.cc +++ b/proxy/logging/LogAccessHttp.cc @@ -361,11 +361,11 @@ LogAccessHttp::marshal_client_req_unmapped_url_host(char *buf) { int len = INK_MIN_ALIGN; - if (buf) { - validate_unmapped_url(); - validate_unmapped_url_path(); + validate_unmapped_url(); + validate_unmapped_url_path(); - len = round_strlen(m_client_req_unmapped_url_host_len + 1); // +1 for eos + len = round_strlen(m_client_req_unmapped_url_host_len + 1); // +1 for eos + if (buf) { marshal_mem(buf, m_client_req_unmapped_url_host_str, m_client_req_unmapped_url_host_len, len); } return len;
