Add X-PollServiceID pseudo-header to the request handling for polls

remotes/origin/0.6.7-post-fixes
Melanie 2009-09-21 20:10:26 +01:00
parent 69b76acce1
commit 61aaf3532a
1 changed files with 3 additions and 1 deletions

View File

@ -262,8 +262,10 @@ namespace OpenSim.Framework.Servers.HttpServer
{
OSHttpRequest req = new OSHttpRequest(context, request);
PollServiceHttpRequest psreq = new PollServiceHttpRequest(psEvArgs, context, request);
req.Headers["X-PollServiceID"] = psreq.RequestID.ToString();
HandleRequest(req, null);
m_PollServiceManager.Enqueue(new PollServiceHttpRequest(psEvArgs, context, request));
m_PollServiceManager.Enqueue(psreq);
//DoHTTPGruntWork(psEvArgs.NoEvents(),new OSHttpResponse(new HttpResponse(context, request)));
}
else