aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/OSHttpRequestPump.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Servers/OSHttpRequestPump.cs11
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Framework/Servers/OSHttpRequestPump.cs b/OpenSim/Framework/Servers/OSHttpRequestPump.cs
index b76fadc..4218be5 100644
--- a/OpenSim/Framework/Servers/OSHttpRequestPump.cs
+++ b/OpenSim/Framework/Servers/OSHttpRequestPump.cs
@@ -165,11 +165,14 @@ namespace OpenSim.Framework.Servers
165 if (null != endPointsRegex) 165 if (null != endPointsRegex)
166 { 166 {
167 // TODO: following code requires code changes to 167 // TODO: following code requires code changes to
168 // HttpServer.HttpRequest 168 // HttpServer.HttpRequest to become functional
169 169
170 // IPEndPoint remote = HttpServer.HttpRequest.RemoteIPEndPoint; 170 IPEndPoint remote = req.RemoteIPEndPoint;
171 // Match epm = endPointsRegex.Match(remote.ToString()); 171 if (null != remote)
172 // if (!epm.Success) continue; 172 {
173 Match epm = endPointsRegex.Match(remote.ToString());
174 if (!epm.Success) continue;
175 }
173 } 176 }
174 177
175 // whitelist ok, now check path 178 // whitelist ok, now check path