diff options
author | Dr Scofield | 2008-05-20 12:58:27 +0000 |
---|---|---|
committer | Dr Scofield | 2008-05-20 12:58:27 +0000 |
commit | 60ceef7ea23dab008aedae6776d6afc2f0007d3b (patch) | |
tree | 89629b4bd738dcd0d888e7e5fc5d25483d064c4b /OpenSim/Framework/Servers | |
parent | Update svn properties. (diff) | |
download | opensim-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 'OpenSim/Framework/Servers')
-rw-r--r-- | OpenSim/Framework/Servers/BaseHttpServer.cs | 2 |
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; |