diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs index cc9ddc2..c379747 100644 --- a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs +++ b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | |||
@@ -337,10 +337,11 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
337 | if (req.PollServiceArgs.HasEvents(req.RequestID, req.PollServiceArgs.Id)) | 337 | if (req.PollServiceArgs.HasEvents(req.RequestID, req.PollServiceArgs.Id)) |
338 | { | 338 | { |
339 | string strreq = ""; | 339 | string strreq = ""; |
340 | if (req.PollServiceArgs.GetEventsNeedsRequest) | 340 | if (req.PollServiceArgs.GetEventsNeedsRequestBody) |
341 | { | 341 | { |
342 | try | 342 | try |
343 | { | 343 | { |
344 | // should we try to seek back? fear we can't | ||
344 | str = new StreamReader(req.Request.Body); | 345 | str = new StreamReader(req.Request.Body); |
345 | strreq = str.ReadToEnd(); | 346 | strreq = str.ReadToEnd(); |
346 | str.Close(); | 347 | str.Close(); |