aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs
diff options
context:
space:
mode:
authorUbitUmarov2016-07-17 13:20:56 +0100
committerUbitUmarov2016-07-17 13:20:56 +0100
commit442b27222828381a27c7c5eddc967a0de4c82d0a (patch)
tree039edaa2e0a3485149e529bfb0f5ce014d6c2fc5 /OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs
parentidentify contexts by ID now avaiable ( pipeline serialization) (diff)
downloadopensim-SC-442b27222828381a27c7c5eddc967a0de4c82d0a.zip
opensim-SC-442b27222828381a27c7c5eddc967a0de4c82d0a.tar.gz
opensim-SC-442b27222828381a27c7c5eddc967a0de4c82d0a.tar.bz2
opensim-SC-442b27222828381a27c7c5eddc967a0de4c82d0a.tar.xz
add a Drop method to PollService Event handlers, Drop requests on connections known to be lost or delay event check if they are sending a response
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs
index f66ef57..7831de3 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs
@@ -226,7 +226,7 @@ namespace OpenSim.Region.ClientStack.Linden
226 private Scene m_scene; 226 private Scene m_scene;
227 private MeshCapsDataThrottler m_throttler; 227 private MeshCapsDataThrottler m_throttler;
228 public PollServiceMeshEventArgs(string uri, UUID pId, Scene scene) : 228 public PollServiceMeshEventArgs(string uri, UUID pId, Scene scene) :
229 base(null, uri, null, null, null, pId, int.MaxValue) 229 base(null, uri, null, null, null, null, pId, int.MaxValue)
230 { 230 {
231 m_scene = scene; 231 m_scene = scene;
232 m_throttler = new MeshCapsDataThrottler(100000, 1400000, 10000, scene, pId); 232 m_throttler = new MeshCapsDataThrottler(100000, 1400000, 10000, scene, pId);
@@ -241,6 +241,15 @@ namespace OpenSim.Region.ClientStack.Linden
241 241
242 } 242 }
243 }; 243 };
244
245 Drop= (x, y) =>
246 {
247 lock (responses)
248 {
249 responses.Remove(x);
250 }
251 };
252
244 GetEvents = (x, y) => 253 GetEvents = (x, y) =>
245 { 254 {
246 lock (responses) 255 lock (responses)