mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Adds the ability to have a thread efficient long poll service (such as the eventqueue)
* If this doesn't melt the Http Server, this will significantly reduce the number of threads in use on regions with many users. * Adds AddPollServiceHTTPHandler, and RemovePollServiceHTTPHandler to BaseHttpServer * Generic enough to be used for many long poll services, not only the EventQueue.
This commit is contained in:
@@ -74,6 +74,9 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
/// </returns>
|
||||
bool AddHTTPHandler(string methodName, GenericHTTPMethod handler);
|
||||
|
||||
|
||||
bool AddPollServiceHTTPHandler(string methodName, GenericHTTPMethod handler, PollServiceEventArgs args);
|
||||
|
||||
/// <summary>
|
||||
/// Adds a LLSD handler, yay.
|
||||
/// </summary>
|
||||
@@ -114,6 +117,8 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
/// <param name="httpMethod"></param>
|
||||
/// <param name="path"></param>
|
||||
void RemoveHTTPHandler(string httpMethod, string path);
|
||||
|
||||
void RemovePollServiceHTTPHandler(string httpMethod, string path);
|
||||
|
||||
bool RemoveLLSDHandler(string path, LLSDMethod handler);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user