You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2012/08/14 23:41:56 UTC
[2/2] git commit: TS-1407 Change the ip allow/quick filter ALL mask
to allow all methods.
TS-1407 Change the ip allow/quick filter ALL mask to allow all methods.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/55b00091
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/55b00091
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/55b00091
Branch: refs/heads/master
Commit: 55b0009176790706a4ca501db31c9fb7fcc435aa
Parents: 9fa553f
Author: Bryan Call <bc...@apache.org>
Authored: Tue Aug 14 14:38:58 2012 -0700
Committer: Bryan Call <bc...@apache.org>
Committed: Tue Aug 14 14:38:58 2012 -0700
----------------------------------------------------------------------
proxy/IPAllow.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/55b00091/proxy/IPAllow.cc
----------------------------------------------------------------------
diff --git a/proxy/IPAllow.cc b/proxy/IPAllow.cc
index ab2843b..b5c2b1e 100644
--- a/proxy/IPAllow.cc
+++ b/proxy/IPAllow.cc
@@ -121,7 +121,7 @@ IpAllow::InitInstance() {
// Should not have been initialized before
ink_assert(_instance == NULL);
- ALL_METHOD_MASK = ~(~0 << HTTP_WKSIDX_METHODS_CNT);
+ ALL_METHOD_MASK = ~0;
ip_reconfig_mutex = new_ProxyMutex();