Disable the handler execution for poll services until the ramifications

can be studied
remotes/origin/0.6.7-post-fixes
Melanie 2009-09-22 05:13:50 +01:00
parent b6b8a18d37
commit 06871d51dd
1 changed files with 3 additions and 3 deletions

View File

@ -260,11 +260,11 @@ namespace OpenSim.Framework.Servers.HttpServer
PollServiceEventArgs psEvArgs; PollServiceEventArgs psEvArgs;
if (TryGetPollServiceHTTPHandler(request.UriPath.ToString(), out psEvArgs)) if (TryGetPollServiceHTTPHandler(request.UriPath.ToString(), out psEvArgs))
{ {
OSHttpRequest req = new OSHttpRequest(context, request); // OSHttpRequest req = new OSHttpRequest(context, request);
PollServiceHttpRequest psreq = new PollServiceHttpRequest(psEvArgs, context, request); PollServiceHttpRequest psreq = new PollServiceHttpRequest(psEvArgs, context, request);
req.Headers["X-PollServiceID"] = psreq.RequestID.ToString(); // req.Headers["X-PollServiceID"] = psreq.RequestID.ToString();
HandleRequest(req, null); // HandleRequest(req, null);
m_PollServiceManager.Enqueue(psreq); m_PollServiceManager.Enqueue(psreq);
//DoHTTPGruntWork(psEvArgs.NoEvents(),new OSHttpResponse(new HttpResponse(context, request))); //DoHTTPGruntWork(psEvArgs.NoEvents(),new OSHttpResponse(new HttpResponse(context, request)));
} }