diff options
author | UbitUmarov | 2016-07-17 13:20:56 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-17 13:20:56 +0100 |
commit | 442b27222828381a27c7c5eddc967a0de4c82d0a (patch) | |
tree | 039edaa2e0a3485149e529bfb0f5ce014d6c2fc5 /OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs | |
parent | identify contexts by ID now avaiable ( pipeline serialization) (diff) | |
download | opensim-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 'OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs index ba4fb76..bde94e6 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs | |||
@@ -256,11 +256,13 @@ namespace OpenSim.Region.ClientStack.Linden | |||
256 | private WebFetchInvDescModule m_module; | 256 | private WebFetchInvDescModule m_module; |
257 | 257 | ||
258 | public PollServiceInventoryEventArgs(WebFetchInvDescModule module, string url, UUID pId) : | 258 | public PollServiceInventoryEventArgs(WebFetchInvDescModule module, string url, UUID pId) : |
259 | base(null, url, null, null, null, pId, int.MaxValue) | 259 | base(null, url, null, null, null, null, pId, int.MaxValue) |
260 | { | 260 | { |
261 | m_module = module; | 261 | m_module = module; |
262 | 262 | ||
263 | HasEvents = (x, y) => { lock (responses) return responses.ContainsKey(x); }; | 263 | HasEvents = (x, y) => { lock (responses) return responses.ContainsKey(x); }; |
264 | Drop = (x, y) => { lock (responses) responses.Remove(x); }; | ||
265 | |||
264 | GetEvents = (x, y) => | 266 | GetEvents = (x, y) => |
265 | { | 267 | { |
266 | lock (responses) | 268 | lock (responses) |