A small fix for remote console to accommodate PollServiceArgs behavior a
bit betterremotes/origin/0.6.7-post-fixes
parent
f6410882a5
commit
2a1b5e3540
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue