diff options
author | Melanie | 2009-09-21 14:14:22 +0100 |
---|---|---|
committer | Melanie | 2009-09-21 14:14:22 +0100 |
commit | 2a1b5e3540692eb90ccb943fb0aec08c14e9445b (patch) | |
tree | 20911537569670726dfb93af467e0fd19bc6c827 | |
parent | Finish the (untested) authentication connector (diff) | |
download | opensim-SC-2a1b5e3540692eb90ccb943fb0aec08c14e9445b.zip opensim-SC-2a1b5e3540692eb90ccb943fb0aec08c14e9445b.tar.gz opensim-SC-2a1b5e3540692eb90ccb943fb0aec08c14e9445b.tar.bz2 opensim-SC-2a1b5e3540692eb90ccb943fb0aec08c14e9445b.tar.xz |
A small fix for remote console to accommodate PollServiceArgs behavior a
bit better
-rw-r--r-- | OpenSim/Framework/Console/RemoteConsole.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/RemoteConsole.cs b/OpenSim/Framework/Console/RemoteConsole.cs index 67bff4c..a005e20 100644 --- a/OpenSim/Framework/Console/RemoteConsole.cs +++ b/OpenSim/Framework/Console/RemoteConsole.cs | |||
@@ -197,7 +197,7 @@ namespace OpenSim.Framework.Console | |||
197 | 197 | ||
198 | string uri = "/ReadResponses/" + sessionID.ToString() + "/"; | 198 | string uri = "/ReadResponses/" + sessionID.ToString() + "/"; |
199 | 199 | ||
200 | m_Server.AddPollServiceHTTPHandler(uri, HandleHttpCloseSession, | 200 | m_Server.AddPollServiceHTTPHandler(uri, HandleHttpPoll, |
201 | new PollServiceEventArgs(HasEvents, GetEvents, NoEvents, | 201 | new PollServiceEventArgs(HasEvents, GetEvents, NoEvents, |
202 | sessionID)); | 202 | sessionID)); |
203 | 203 | ||
@@ -230,6 +230,11 @@ namespace OpenSim.Framework.Console | |||
230 | return reply; | 230 | return reply; |
231 | } | 231 | } |
232 | 232 | ||
233 | private Hashtable HandleHttpPoll(Hashtable request) | ||
234 | { | ||
235 | return new Hashtable(); | ||
236 | } | ||
237 | |||
233 | private Hashtable HandleHttpCloseSession(Hashtable request) | 238 | private Hashtable HandleHttpCloseSession(Hashtable request) |
234 | { | 239 | { |
235 | DoExpire(); | 240 | DoExpire(); |