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 2013/03/31 01:44:35 UTC
git commit: TS-1169 Eliminate bogus asserts. Credits to Conan Wang.
Updated Branches:
refs/heads/master 52f240943 -> 8a4f5837f
TS-1169 Eliminate bogus asserts. Credits to Conan Wang.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/8a4f5837
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/8a4f5837
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/8a4f5837
Branch: refs/heads/master
Commit: 8a4f5837fb354ce49e1073805f07dd0f0a6e9970
Parents: 52f2409
Author: Leif Hedstrom <zw...@apache.org>
Authored: Mon Mar 25 15:22:16 2013 -0600
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Sat Mar 30 18:41:41 2013 -0600
----------------------------------------------------------------------
CHANGES | 2 ++
proxy/http/HttpSM.cc | 10 +---------
2 files changed, 3 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8a4f5837/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 5aee40e..024f515 100644
--- a/CHANGES
+++ b/CHANGES
@@ -12,6 +12,8 @@
*) [TS-1754] Remove unecessary wWarnings from stats evaluation.
Author: Yunkai Zhang.
+ *) [TS-1169] Eliminate bogus asserts. Credits to Conan Wang.
+
*) [TS-1724] Add tool to compare records.config files to contrib
Author: Mark Harrison <ma...@mivok.net>
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8a4f5837/proxy/http/HttpSM.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index 17f3ba7..36f5608 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -4195,16 +4195,8 @@ HttpSM::do_cache_delete_all_alts(Continuation * cont)
// Do not delete a non-existant object.
ink_assert(t_state.cache_info.object_read);
-#ifdef DEBUG
- INK_MD5 md5a;
- INK_MD5 md5b;
- t_state.hdr_info.client_request.url_get()->MD5_get(&md5a);
- t_state.cache_info.lookup_url->MD5_get(&md5b);
- ink_assert(md5a == md5b || t_state.txn_conf->maintain_pristine_host_hdr);
-#endif
-
DebugSM("http_seq", "[HttpSM::do_cache_delete_all_alts] Issuing cache delete for %s",
- t_state.cache_info.lookup_url->string_get_ref());
+ t_state.cache_info.lookup_url->string_get_ref());
Action *cache_action_handle = NULL;