aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/OSHttpRequestPump.cs
diff options
context:
space:
mode:
authorDr Scofield2008-06-27 16:18:56 +0000
committerDr Scofield2008-06-27 16:18:56 +0000
commitcea6e03ae0aaea3acba6b844f173ee08259fe101 (patch)
treef27f0d01e445571f0cb4c4cf13adf975943b6a4d /OpenSim/Framework/Servers/OSHttpRequestPump.cs
parentstatus: work-in-progress, non-functional (diff)
downloadopensim-SC_OLD-cea6e03ae0aaea3acba6b844f173ee08259fe101.zip
opensim-SC_OLD-cea6e03ae0aaea3acba6b844f173ee08259fe101.tar.gz
opensim-SC_OLD-cea6e03ae0aaea3acba6b844f173ee08259fe101.tar.bz2
opensim-SC_OLD-cea6e03ae0aaea3acba6b844f173ee08259fe101.tar.xz
dr scofield's warning safari: hunting down those little buggers
Diffstat (limited to 'OpenSim/Framework/Servers/OSHttpRequestPump.cs')
-rw-r--r--OpenSim/Framework/Servers/OSHttpRequestPump.cs4
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: