diff options
Add X-PollServiceID pseudo-header to the request handling for polls
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index b73557f..5a7f20a 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -262,8 +262,10 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
262 | { | 262 | { |
263 | OSHttpRequest req = new OSHttpRequest(context, request); | 263 | OSHttpRequest req = new OSHttpRequest(context, request); |
264 | 264 | ||
265 | PollServiceHttpRequest psreq = new PollServiceHttpRequest(psEvArgs, context, request); | ||
266 | req.Headers["X-PollServiceID"] = psreq.RequestID.ToString(); | ||
265 | HandleRequest(req, null); | 267 | HandleRequest(req, null); |
266 | m_PollServiceManager.Enqueue(new PollServiceHttpRequest(psEvArgs, context, request)); | 268 | m_PollServiceManager.Enqueue(psreq); |
267 | //DoHTTPGruntWork(psEvArgs.NoEvents(),new OSHttpResponse(new HttpResponse(context, request))); | 269 | //DoHTTPGruntWork(psEvArgs.NoEvents(),new OSHttpResponse(new HttpResponse(context, request))); |
268 | } | 270 | } |
269 | else | 271 | else |