mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
A small fix for remote console to accommodate PollServiceArgs behavior a
bit better
This commit is contained in:
@@ -197,7 +197,7 @@ namespace OpenSim.Framework.Console
|
||||
|
||||
string uri = "/ReadResponses/" + sessionID.ToString() + "/";
|
||||
|
||||
m_Server.AddPollServiceHTTPHandler(uri, HandleHttpCloseSession,
|
||||
m_Server.AddPollServiceHTTPHandler(uri, HandleHttpPoll,
|
||||
new PollServiceEventArgs(HasEvents, GetEvents, NoEvents,
|
||||
sessionID));
|
||||
|
||||
@@ -230,6 +230,11 @@ namespace OpenSim.Framework.Console
|
||||
return reply;
|
||||
}
|
||||
|
||||
private Hashtable HandleHttpPoll(Hashtable request)
|
||||
{
|
||||
return new Hashtable();
|
||||
}
|
||||
|
||||
private Hashtable HandleHttpCloseSession(Hashtable request)
|
||||
{
|
||||
DoExpire();
|
||||
|
||||
Reference in New Issue
Block a user