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/Region/OptionalModules | |
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/Region/OptionalModules')
-rw-r--r-- | OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs index 7c0fe4c..cab640b 100644 --- a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs +++ b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs | |||
@@ -878,6 +878,10 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server | |||
878 | 878 | ||
879 | } | 879 | } |
880 | 880 | ||
881 | public void ProcessPendingPackets() | ||
882 | { | ||
883 | } | ||
884 | |||
881 | public void ProcessInPacket(Packet NewPack) | 885 | public void ProcessInPacket(Packet NewPack) |
882 | { | 886 | { |
883 | 887 | ||
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index 4323c94..b828357 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | |||
@@ -839,6 +839,10 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
839 | { | 839 | { |
840 | } | 840 | } |
841 | 841 | ||
842 | public void ProcessPendingPackets() | ||
843 | { | ||
844 | } | ||
845 | |||
842 | public void ProcessInPacket(Packet NewPack) | 846 | public void ProcessInPacket(Packet NewPack) |
843 | { | 847 | { |
844 | } | 848 | } |