trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject git commit: Meh, fix for dumb stuff.
Date Tue, 05 Nov 2013 17:22:24 GMT
Updated Branches:
  refs/heads/master f130971bb -> 6fbca4e89


Meh, fix for dumb stuff.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/6fbca4e8
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/6fbca4e8
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/6fbca4e8

Branch: refs/heads/master
Commit: 6fbca4e89531b1d03c35561131020fbc3eaaba44
Parents: f130971
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Tue Nov 5 09:22:05 2013 -0800
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Tue Nov 5 09:22:05 2013 -0800

----------------------------------------------------------------------
 proxy/http/HttpTransactCache.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/6fbca4e8/proxy/http/HttpTransactCache.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransactCache.cc b/proxy/http/HttpTransactCache.cc
index c30b9a6..8699ee8 100644
--- a/proxy/http/HttpTransactCache.cc
+++ b/proxy/http/HttpTransactCache.cc
@@ -326,7 +326,7 @@ HttpTransactCache::calculate_quality_of_match(CacheLookupHttpConfig *
http_confi
   //
   // A true value means the check for that config can be skipped. Note: from a users
   // perspective, the configs are simply 0, 1 or 2.
-  unsigned int vary_skip_mask = obj_origin_server_response->presence(MIME_PRESENCE_VARY)
? 0b01 : 0b11;
+  unsigned int vary_skip_mask = obj_origin_server_response->presence(MIME_PRESENCE_VARY)
? 1 : 3;
 
   // Make debug output happy
   q[1] = (q[2] = (q[3] = -2.0));


Mime
View raw message