take login service out of basicDOSprot (too little, too late)
parent
b48cbcbfdd
commit
35f5d4449b
|
@ -106,9 +106,10 @@ namespace OpenSim.Server.Handlers.Login
|
|||
private void InitializeHandlers(IHttpServer server)
|
||||
{
|
||||
LLLoginHandlers loginHandlers = new LLLoginHandlers(m_LoginService, m_Proxy);
|
||||
server.AddXmlRPCHandler("login_to_simulator",
|
||||
new XmlRpcBasicDOSProtector(loginHandlers.HandleXMLRPCLogin,loginHandlers.HandleXMLRPCLoginBlocked,
|
||||
m_DosProtectionOptions).Process, false);
|
||||
// server.AddXmlRPCHandler("login_to_simulator",
|
||||
// new XmlRpcBasicDOSProtector(loginHandlers.HandleXMLRPCLogin, loginHandlers.HandleXMLRPCLoginBlocked,
|
||||
// m_DosProtectionOptions).Process, false);
|
||||
server.AddXmlRPCHandler("login_to_simulator",loginHandlers.HandleXMLRPCLogin, false);
|
||||
server.AddXmlRPCHandler("set_login_level", loginHandlers.HandleXMLRPCSetLoginLevel, false);
|
||||
server.SetDefaultLLSDHandler(loginHandlers.HandleLLSDLogin);
|
||||
server.AddWebSocketHandler("/WebSocket/GridLogin", loginHandlers.HandleWebSocketLoginEvents);
|
||||
|
|
Loading…
Reference in New Issue