Show http poll handlers in separate http (poll) section of "show http-handlers" console command instead of never showing them (due to a previous bug).
The code was assuming that poll handlers were also included in general http handlers but this was not the case.0.7.4-extended
parent
bbfde60ad5
commit
b53362cdb0
|
@ -227,9 +227,12 @@ namespace OpenSim.Framework.Servers
|
||||||
handlers.AppendFormat("\t{0}\n", s);
|
handlers.AppendFormat("\t{0}\n", s);
|
||||||
|
|
||||||
handlers.AppendFormat("* HTTP:\n");
|
handlers.AppendFormat("* HTTP:\n");
|
||||||
List<String> poll = httpServer.GetPollServiceHandlerKeys();
|
|
||||||
foreach (String s in httpServer.GetHTTPHandlerKeys())
|
foreach (String s in httpServer.GetHTTPHandlerKeys())
|
||||||
handlers.AppendFormat("\t{0} {1}\n", s, (poll.Contains(s) ? "(poll service)" : string.Empty));
|
handlers.AppendFormat("\t{0}\n", s);
|
||||||
|
|
||||||
|
handlers.AppendFormat("* HTTP (poll):\n");
|
||||||
|
foreach (String s in httpServer.GetPollServiceHandlerKeys())
|
||||||
|
handlers.AppendFormat("\t{0}\n", s);
|
||||||
|
|
||||||
// handlers.AppendFormat("* Agent:\n");
|
// handlers.AppendFormat("* Agent:\n");
|
||||||
// foreach (String s in httpServer.GetAgentHandlerKeys())
|
// foreach (String s in httpServer.GetAgentHandlerKeys())
|
||||||
|
|
Loading…
Reference in New Issue