mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
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
This commit is contained in:
@@ -256,11 +256,13 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
private WebFetchInvDescModule m_module;
|
||||
|
||||
public PollServiceInventoryEventArgs(WebFetchInvDescModule module, string url, UUID pId) :
|
||||
base(null, url, null, null, null, pId, int.MaxValue)
|
||||
base(null, url, null, null, null, null, pId, int.MaxValue)
|
||||
{
|
||||
m_module = module;
|
||||
|
||||
HasEvents = (x, y) => { lock (responses) return responses.ContainsKey(x); };
|
||||
Drop = (x, y) => { lock (responses) responses.Remove(x); };
|
||||
|
||||
GetEvents = (x, y) =>
|
||||
{
|
||||
lock (responses)
|
||||
|
||||
Reference in New Issue
Block a user