mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Add X-PollServiceID pseudo-header to the request handling for polls
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user