aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-03-11 23:33:55 +0000
committerJustin Clark-Casey (justincc)2010-03-11 23:33:55 +0000
commit2313d14acbf0f23d5d041ade03fa1fe030223f51 (patch)
tree31ae4f76b54ed66f567f84d4558b75d564090bdc /OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
parentUpgrade Newtonsoft.Json.dll from 1.3 to 3.5r6 (diff)
downloadopensim-SC_OLD-2313d14acbf0f23d5d041ade03fa1fe030223f51.zip
opensim-SC_OLD-2313d14acbf0f23d5d041ade03fa1fe030223f51.tar.gz
opensim-SC_OLD-2313d14acbf0f23d5d041ade03fa1fe030223f51.tar.bz2
opensim-SC_OLD-2313d14acbf0f23d5d041ade03fa1fe030223f51.tar.xz
minor: add some more documentation for IHttpServer.AddHTTPHandler() to tell the caller that the best match for an incoming request URI is invoked
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index 214f936..9a6ef77 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -202,16 +202,14 @@ namespace OpenSim.Framework.Servers.HttpServer
202 if (!m_pollHandlers.ContainsKey(methodName)) 202 if (!m_pollHandlers.ContainsKey(methodName))
203 { 203 {
204 m_pollHandlers.Add(methodName,args); 204 m_pollHandlers.Add(methodName,args);
205 pollHandlerResult = true; 205 pollHandlerResult = true;
206
207 } 206 }
208 } 207 }
209 208
210 if (pollHandlerResult) 209 if (pollHandlerResult)
211 return AddHTTPHandler(methodName, handler); 210 return AddHTTPHandler(methodName, handler);
212 211
213 return false; 212 return false;
214
215 } 213 }
216 214
217 // Note that the agent string is provided simply to differentiate 215 // Note that the agent string is provided simply to differentiate