aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-06-08 03:53:03 +0100
committerJustin Clark-Casey (justincc)2012-06-08 03:53:03 +0100
commitc215b1ad169cb8c3add70622f610e980ee9cfa31 (patch)
treea13e258b6635aa2c63a8e2b0604142bf939a3612 /OpenSim/Tools
parentAdd regression test for client logout due to ack timeout. (diff)
downloadopensim-SC_OLD-c215b1ad169cb8c3add70622f610e980ee9cfa31.zip
opensim-SC_OLD-c215b1ad169cb8c3add70622f610e980ee9cfa31.tar.gz
opensim-SC_OLD-c215b1ad169cb8c3add70622f610e980ee9cfa31.tar.bz2
opensim-SC_OLD-c215b1ad169cb8c3add70622f610e980ee9cfa31.tar.xz
If logging a client out due to ack timeout, do this asynchronously rather than synchronously on the outgoing packet loop.
This is the same async behaviour as normal logouts. This is necessary because the event queue will sleep the thread for 5 seconds on an ack timeout logout as the client isn't around to pick up the final event queue messages.
Diffstat (limited to 'OpenSim/Tools')
-rw-r--r--OpenSim/Tools/pCampBot/Bot.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Tools/pCampBot/Bot.cs b/OpenSim/Tools/pCampBot/Bot.cs
index b6cd287..daaa3c0 100644
--- a/OpenSim/Tools/pCampBot/Bot.cs
+++ b/OpenSim/Tools/pCampBot/Bot.cs
@@ -480,6 +480,9 @@ namespace pCampBot
480 480
481 public void Objects_NewPrim(object sender, PrimEventArgs args) 481 public void Objects_NewPrim(object sender, PrimEventArgs args)
482 { 482 {
483// if (Name.EndsWith("4"))
484// throw new Exception("Aaargh");
485
483 Primitive prim = args.Prim; 486 Primitive prim = args.Prim;
484 487
485 if (prim != null) 488 if (prim != null)