aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDr Scofield2008-05-20 12:58:27 +0000
committerDr Scofield2008-05-20 12:58:27 +0000
commit60ceef7ea23dab008aedae6776d6afc2f0007d3b (patch)
tree89629b4bd738dcd0d888e7e5fc5d25483d064c4b /OpenSim
parentUpdate svn properties. (diff)
downloadopensim-SC_OLD-60ceef7ea23dab008aedae6776d6afc2f0007d3b.zip
opensim-SC_OLD-60ceef7ea23dab008aedae6776d6afc2f0007d3b.tar.gz
opensim-SC_OLD-60ceef7ea23dab008aedae6776d6afc2f0007d3b.tar.bz2
opensim-SC_OLD-60ceef7ea23dab008aedae6776d6afc2f0007d3b.tar.xz
my last "simplification" of the the if-then-else logic in BaseHttpServer placed the return in
the "if (request.UserAgent != null)" branch in the wrong place: as a result BaseHttpServer would not do anything if the user agent header field was present....ARGH! BAAAAAAD.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs
index 51cb36e..a5e256b 100644
--- a/OpenSim/Framework/Servers/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/BaseHttpServer.cs
@@ -161,8 +161,8 @@ namespace OpenSim.Framework.Servers
161 { 161 {
162 m_log.DebugFormat("[HTTP-AGENT] Handler located for {0}", request.UserAgent); 162 m_log.DebugFormat("[HTTP-AGENT] Handler located for {0}", request.UserAgent);
163 HandleAgentRequest(agentHandler, request, response); 163 HandleAgentRequest(agentHandler, request, response);
164 return;
164 } 165 }
165 return;
166 } 166 }
167 167
168 IRequestHandler requestHandler; 168 IRequestHandler requestHandler;