diff options
author | Tom Grimshaw | 2010-05-18 01:09:47 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-05-18 01:09:47 -0700 |
commit | 91b1d17e5bd3ff6ed006744bc529b53a67af1a64 (patch) | |
tree | 0d903e6526fd66151a43ff86dd674fe28b120cec /OpenSim/Tests/Common/Mock | |
parent | While examining our 10,10,10 issue I discovered that several threads were loc... (diff) | |
download | opensim-SC_OLD-91b1d17e5bd3ff6ed006744bc529b53a67af1a64.zip opensim-SC_OLD-91b1d17e5bd3ff6ed006744bc529b53a67af1a64.tar.gz opensim-SC_OLD-91b1d17e5bd3ff6ed006744bc529b53a67af1a64.tar.bz2 opensim-SC_OLD-91b1d17e5bd3ff6ed006744bc529b53a67af1a64.tar.xz |
Fix for hanging on "Connecting to region".. caused by packets being processed before the presence has bound to receive events. Fixed this by adding packets to a queue and then processing them when the presence is ready.
Diffstat (limited to 'OpenSim/Tests/Common/Mock')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index 05a8ff0..815816a 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -882,6 +882,10 @@ namespace OpenSim.Tests.Common.Mock | |||
882 | { | 882 | { |
883 | } | 883 | } |
884 | 884 | ||
885 | public void ProcessPendingPackets() | ||
886 | { | ||
887 | } | ||
888 | |||
885 | public void ProcessInPacket(Packet NewPack) | 889 | public void ProcessInPacket(Packet NewPack) |
886 | { | 890 | { |
887 | } | 891 | } |