aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-09-26 15:41:57 +0100
committerUbitUmarov2012-09-26 15:41:57 +0100
commit7e3eba1064197024690c5b3cae4c2cf87319e48c (patch)
tree35217d5302061d21540073e9a0b4bd4ef441a0e8 /OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
parentUriModule GetEvents also doesn't need a request body (diff)
downloadopensim-SC_OLD-7e3eba1064197024690c5b3cae4c2cf87319e48c.zip
opensim-SC_OLD-7e3eba1064197024690c5b3cae4c2cf87319e48c.tar.gz
opensim-SC_OLD-7e3eba1064197024690c5b3cae4c2cf87319e48c.tar.bz2
opensim-SC_OLD-7e3eba1064197024690c5b3cae4c2cf87319e48c.tar.xz
Seems nothing actually need the request body for getevents. so change
control flag to false
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs3
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();