Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
commit
b8f039897b
|
@ -1221,11 +1221,13 @@ namespace OpenSim.Framework.Communications.Services
|
||||||
{
|
{
|
||||||
return Util.CreateUnknownUserErrorResponse();
|
return Util.CreateUnknownUserErrorResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
UUID.TryParse((string)requestData["session_id"], out guess_sid);
|
UUID.TryParse((string)requestData["session_id"], out guess_sid);
|
||||||
if (guess_sid == UUID.Zero)
|
if (guess_sid == UUID.Zero)
|
||||||
{
|
{
|
||||||
return Util.CreateUnknownUserErrorResponse();
|
return Util.CreateUnknownUserErrorResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_userManager.VerifySession(guess_aid, guess_sid))
|
if (m_userManager.VerifySession(guess_aid, guess_sid))
|
||||||
{
|
{
|
||||||
authed = "TRUE";
|
authed = "TRUE";
|
||||||
|
@ -1243,6 +1245,5 @@ namespace OpenSim.Framework.Communications.Services
|
||||||
response.Value = responseData;
|
response.Value = responseData;
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -260,8 +260,6 @@ namespace OpenSim.Grid.UserServer
|
||||||
m_userManager.PostInitialise();
|
m_userManager.PostInitialise();
|
||||||
m_avatarAppearanceModule.PostInitialise();
|
m_avatarAppearanceModule.PostInitialise();
|
||||||
m_friendsModule.PostInitialise();
|
m_friendsModule.PostInitialise();
|
||||||
|
|
||||||
m_avatarAppearanceModule.PostInitialise();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void RegisterHttpHandlers()
|
protected virtual void RegisterHttpHandlers()
|
||||||
|
@ -276,8 +274,6 @@ namespace OpenSim.Grid.UserServer
|
||||||
m_avatarAppearanceModule.RegisterHandlers(m_httpServer);
|
m_avatarAppearanceModule.RegisterHandlers(m_httpServer);
|
||||||
m_messagesService.RegisterHandlers(m_httpServer);
|
m_messagesService.RegisterHandlers(m_httpServer);
|
||||||
m_gridInfoService.RegisterHandlers(m_httpServer);
|
m_gridInfoService.RegisterHandlers(m_httpServer);
|
||||||
|
|
||||||
m_avatarAppearanceModule.RegisterHandlers(m_httpServer);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void ShutdownSpecific()
|
public override void ShutdownSpecific()
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<configuration>
|
|
||||||
<configSections>
|
|
||||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
|
|
||||||
</configSections>
|
|
||||||
<appSettings>
|
|
||||||
</appSettings>
|
|
||||||
<log4net>
|
|
||||||
<appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
|
|
||||||
<layout type="log4net.Layout.PatternLayout">
|
|
||||||
<conversionPattern value="%date{HH:mm:ss} - %message%newline" />
|
|
||||||
</layout>
|
|
||||||
</appender>
|
|
||||||
<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
|
|
||||||
<file value="OpenSim.Grid.AssetServer.log" />
|
|
||||||
<appendToFile value="true" />
|
|
||||||
<layout type="log4net.Layout.PatternLayout">
|
|
||||||
<conversionPattern value="%date %-5level - %logger %message%newline" />
|
|
||||||
</layout>
|
|
||||||
</appender>
|
|
||||||
|
|
||||||
<!-- if you'd like to know what NHibernate is doing more set value="DEBUG" -->
|
|
||||||
<logger name="NHibernate" additivity="false">
|
|
||||||
<level value="INFO"/>
|
|
||||||
<appender-ref ref="NHibernateFileLog"/>
|
|
||||||
</logger>
|
|
||||||
|
|
||||||
|
|
||||||
<root>
|
|
||||||
<level value="DEBUG" />
|
|
||||||
<appender-ref ref="Console" />
|
|
||||||
<appender-ref ref="LogFileAppender" />
|
|
||||||
</root>
|
|
||||||
</log4net>
|
|
||||||
</configuration>
|
|
|
@ -1,35 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<configuration>
|
|
||||||
<configSections>
|
|
||||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
|
|
||||||
</configSections>
|
|
||||||
<appSettings>
|
|
||||||
</appSettings>
|
|
||||||
<log4net>
|
|
||||||
<appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
|
|
||||||
<layout type="log4net.Layout.PatternLayout">
|
|
||||||
<conversionPattern value="%date{HH:mm:ss} - %message%newline" />
|
|
||||||
</layout>
|
|
||||||
</appender>
|
|
||||||
<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
|
|
||||||
<file value="OpenSim.Grid.InventoryServer.log" />
|
|
||||||
<appendToFile value="true" />
|
|
||||||
<layout type="log4net.Layout.PatternLayout">
|
|
||||||
<conversionPattern value="%date %-5level - %logger %message%newline" />
|
|
||||||
</layout>
|
|
||||||
</appender>
|
|
||||||
|
|
||||||
<!-- if you'd like to know what NHibernate is doing more set value="DEBUG" -->
|
|
||||||
<logger name="NHibernate" additivity="false">
|
|
||||||
<level value="INFO"/>
|
|
||||||
<appender-ref ref="NHibernateFileLog"/>
|
|
||||||
</logger>
|
|
||||||
|
|
||||||
|
|
||||||
<root>
|
|
||||||
<level value="DEBUG" />
|
|
||||||
<appender-ref ref="Console" />
|
|
||||||
<appender-ref ref="LogFileAppender" />
|
|
||||||
</root>
|
|
||||||
</log4net>
|
|
||||||
</configuration>
|
|
Loading…
Reference in New Issue