diff options
Diffstat (limited to 'OpenSim/Framework/Servers/OSHttpRequestPump.cs')
-rw-r--r-- | OpenSim/Framework/Servers/OSHttpRequestPump.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/OSHttpRequestPump.cs b/OpenSim/Framework/Servers/OSHttpRequestPump.cs index f04134c..3459cc6 100644 --- a/OpenSim/Framework/Servers/OSHttpRequestPump.cs +++ b/OpenSim/Framework/Servers/OSHttpRequestPump.cs | |||
@@ -147,8 +147,6 @@ namespace OpenSim.Framework.Servers | |||
147 | Dictionary<string, Regex> headerRegexs = h.Headers; | 147 | Dictionary<string, Regex> headerRegexs = h.Headers; |
148 | Regex endPointsRegex = h.IPEndPointWhitelist; | 148 | Regex endPointsRegex = h.IPEndPointWhitelist; |
149 | 149 | ||
150 | int pathMatch = 0; | ||
151 | int headersMatch = 0; | ||
152 | 150 | ||
153 | // first, check whether IPEndPointWhitelist applies | 151 | // first, check whether IPEndPointWhitelist applies |
154 | // and, if it does, whether client is on that white | 152 | // and, if it does, whether client is on that white |
@@ -175,6 +173,8 @@ namespace OpenSim.Framework.Servers | |||
175 | // whitelist & path ok, now check headers | 173 | // whitelist & path ok, now check headers |
176 | if (null != headerRegexs) | 174 | if (null != headerRegexs) |
177 | { | 175 | { |
176 | int headersMatch = 0; | ||
177 | |||
178 | // go through all header Regexs and evaluate | 178 | // go through all header Regexs and evaluate |
179 | // match: | 179 | // match: |
180 | // if header field not present or does not match: | 180 | // if header field not present or does not match: |