diff options
author | UbitUmarov | 2012-09-26 16:17:49 +0100 |
---|---|---|
committer | UbitUmarov | 2012-09-26 16:17:49 +0100 |
commit | 617f1b9223375a2dda925e26c395901810d37697 (patch) | |
tree | 8d7a116061246bda06540bb757e946df1c84bdab /OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | |
parent | Seems nothing actually need the request body for getevents. so change (diff) | |
download | opensim-SC-617f1b9223375a2dda925e26c395901810d37697.zip opensim-SC-617f1b9223375a2dda925e26c395901810d37697.tar.gz opensim-SC-617f1b9223375a2dda925e26c395901810d37697.tar.bz2 opensim-SC-617f1b9223375a2dda925e26c395901810d37697.tar.xz |
just remove the damm thing
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs index c379747..c09bf14 100644 --- a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs +++ b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | |||
@@ -336,23 +336,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
336 | { | 336 | { |
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 | Hashtable responsedata = req.PollServiceArgs.GetEvents(req.RequestID, req.PollServiceArgs.Id); |
340 | if (req.PollServiceArgs.GetEventsNeedsRequestBody) | ||
341 | { | ||
342 | try | ||
343 | { | ||
344 | // should we try to seek back? fear we can't | ||
345 | str = new StreamReader(req.Request.Body); | ||
346 | strreq = str.ReadToEnd(); | ||
347 | str.Close(); | ||
348 | } | ||
349 | catch | ||
350 | { | ||
351 | continue; | ||
352 | } | ||
353 | } | ||
354 | |||
355 | Hashtable responsedata = req.PollServiceArgs.GetEvents(req.RequestID, req.PollServiceArgs.Id, strreq); | ||
356 | 340 | ||
357 | if (responsedata == null) | 341 | if (responsedata == null) |
358 | continue; | 342 | continue; |