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.
This commit is contained in:
Dr Scofield
2008-05-20 12:58:27 +00:00
parent b7c8020a3e
commit 60ceef7ea2

View File

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