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.
0.6.0-stable
Dr Scofield 2008-05-20 12:58:27 +00:00
parent b7c8020a3e
commit 60ceef7ea2
1 changed files with 1 additions and 1 deletions

View File

@ -161,8 +161,8 @@ namespace OpenSim.Framework.Servers
{ {
m_log.DebugFormat("[HTTP-AGENT] Handler located for {0}", request.UserAgent); m_log.DebugFormat("[HTTP-AGENT] Handler located for {0}", request.UserAgent);
HandleAgentRequest(agentHandler, request, response); HandleAgentRequest(agentHandler, request, response);
return;
} }
return;
} }
IRequestHandler requestHandler; IRequestHandler requestHandler;