aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-09-26 03:05:27 +0100
committerUbitUmarov2012-09-26 03:05:27 +0100
commit654dd289f263a4eef4f2aa70a1cb8d289ec7e04c (patch)
treec38144c74469b7536d11c5002d3ba931bdb9ded1 /OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
parent fix priorityQueue to correctly use the fairness counts starting at 8 for (diff)
downloadopensim-SC-654dd289f263a4eef4f2aa70a1cb8d289ec7e04c.zip
opensim-SC-654dd289f263a4eef4f2aa70a1cb8d289ec7e04c.tar.gz
opensim-SC-654dd289f263a4eef4f2aa70a1cb8d289ec7e04c.tar.bz2
opensim-SC-654dd289f263a4eef4f2aa70a1cb8d289ec7e04c.tar.xz
more changes to PollService
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
index b16076d..8a607fb 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs
@@ -160,7 +160,11 @@ namespace OpenSim.Region.ClientStack.Linden
160 { 160 {
161 m_scene = scene; 161 m_scene = scene;
162 162
163 HasEvents = (x, y) => { lock (responses) return responses.ContainsKey(x); }; 163 HasEvents = (x, y) =>
164 {
165 lock (responses)
166 return responses.ContainsKey(x);
167 };
164 GetEvents = (x, y, s) => 168 GetEvents = (x, y, s) =>
165 { 169 {
166 lock (responses) 170 lock (responses)
@@ -247,6 +251,7 @@ namespace OpenSim.Region.ClientStack.Linden
247 PollServiceTextureEventArgs args = new PollServiceTextureEventArgs(agentID, m_scene); 251 PollServiceTextureEventArgs args = new PollServiceTextureEventArgs(agentID, m_scene);
248 252
249 args.Type = PollServiceEventArgs.EventType.Texture; 253 args.Type = PollServiceEventArgs.EventType.Texture;
254 args.GetEventsNeedsRequest = false;
250 MainServer.Instance.AddPollServiceHTTPHandler(capUrl, args); 255 MainServer.Instance.AddPollServiceHTTPHandler(capUrl, args);
251 256
252 string hostName = m_scene.RegionInfo.ExternalHostName; 257 string hostName = m_scene.RegionInfo.ExternalHostName;