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)
|
private void InitializeHandlers(IHttpServer server)
|
||||||
{
|
{
|
||||||
LLLoginHandlers loginHandlers = new LLLoginHandlers(m_LoginService, m_Proxy);
|
LLLoginHandlers loginHandlers = new LLLoginHandlers(m_LoginService, m_Proxy);
|
||||||
server.AddXmlRPCHandler("login_to_simulator",
|
// server.AddXmlRPCHandler("login_to_simulator",
|
||||||
new XmlRpcBasicDOSProtector(loginHandlers.HandleXMLRPCLogin,loginHandlers.HandleXMLRPCLoginBlocked,
|
// new XmlRpcBasicDOSProtector(loginHandlers.HandleXMLRPCLogin, loginHandlers.HandleXMLRPCLoginBlocked,
|
||||||
m_DosProtectionOptions).Process, false);
|
// m_DosProtectionOptions).Process, false);
|
||||||
|
server.AddXmlRPCHandler("login_to_simulator",loginHandlers.HandleXMLRPCLogin, false);
|
||||||
server.AddXmlRPCHandler("set_login_level", loginHandlers.HandleXMLRPCSetLoginLevel, false);
|
server.AddXmlRPCHandler("set_login_level", loginHandlers.HandleXMLRPCSetLoginLevel, false);
|
||||||
server.SetDefaultLLSDHandler(loginHandlers.HandleLLSDLogin);
|
server.SetDefaultLLSDHandler(loginHandlers.HandleLLSDLogin);
|
||||||
server.AddWebSocketHandler("/WebSocket/GridLogin", loginHandlers.HandleWebSocketLoginEvents);
|
server.AddWebSocketHandler("/WebSocket/GridLogin", loginHandlers.HandleWebSocketLoginEvents);
|
||||||
|
|
Loading…
Reference in New Issue