Seems nothing actually need the request body for getevents. so change

control flag to false
This commit is contained in:
UbitUmarov
2012-09-26 15:41:57 +01:00
parent abb4b9fcae
commit 7e3eba1064
5 changed files with 12 additions and 15 deletions

View File

@@ -337,10 +337,11 @@ namespace OpenSim.Framework.Servers.HttpServer
if (req.PollServiceArgs.HasEvents(req.RequestID, req.PollServiceArgs.Id))
{
string strreq = "";
if (req.PollServiceArgs.GetEventsNeedsRequest)
if (req.PollServiceArgs.GetEventsNeedsRequestBody)
{
try
{
// should we try to seek back? fear we can't
str = new StreamReader(req.Request.Body);
strreq = str.ReadToEnd();
str.Close();