mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
improve locking of m_HTTPHandlers in BaseHttpServer
This commit is contained in:
@@ -220,10 +220,10 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
|
||||
public List<string> GetHTTPHandlerKeys()
|
||||
{
|
||||
return new List<string>(m_HTTPHandlers.Keys);
|
||||
lock (m_HTTPHandlers)
|
||||
return new List<string>(m_HTTPHandlers.Keys);
|
||||
}
|
||||
|
||||
|
||||
public bool AddPollServiceHTTPHandler(string methodName, GenericHTTPMethod handler, PollServiceEventArgs args)
|
||||
{
|
||||
bool pollHandlerResult = false;
|
||||
|
||||
Reference in New Issue
Block a user