You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2016/02/18 03:51:50 UTC
trafficserver git commit: TS-4214 HttpSM debug message incorrect
Repository: trafficserver
Updated Branches:
refs/heads/master c4071c66c -> 5ab92ff3b
TS-4214 HttpSM debug message incorrect
This closes #483
The debug message didn't make any sense before since it was
displaying the expected value as actual and vis versa.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/5ab92ff3
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/5ab92ff3
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/5ab92ff3
Branch: refs/heads/master
Commit: 5ab92ff3bd9784d742c12590b9337afc206aa20f
Parents: c4071c6
Author: Daniel Xu <dl...@yahoo.com>
Authored: Wed Feb 17 21:18:05 2016 +0000
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Wed Feb 17 17:25:29 2016 -0700
----------------------------------------------------------------------
proxy/http/HttpSM.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/5ab92ff3/proxy/http/HttpSM.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index a5208f3..c18dced 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -2842,7 +2842,7 @@ HttpSM::is_http_server_eos_truncation(HttpTunnelProducer *p)
int64_t cl = t_state.hdr_info.server_response.get_content_length();
if (cl != UNDEFINED_COUNT && cl > server_response_body_bytes) {
- DebugSM("http", "[%" PRId64 "] server eos after %" PRId64 ". Expected %" PRId64, sm_id, cl, server_response_body_bytes);
+ DebugSM("http", "[%" PRId64 "] server eos after %" PRId64 ". Expected %" PRId64, sm_id, server_response_body_bytes, cl);
return true;
} else {
return false;