diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index bd61c3f..3d92705 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -678,12 +678,22 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
678 | //there is a local handler for this packet type | 678 | //there is a local handler for this packet type |
679 | if (pprocessor.Async) | 679 | if (pprocessor.Async) |
680 | { | 680 | { |
681 | ClientInfo cinfo = UDPClient.GetClientInfo(); | ||
682 | if (!cinfo.AsyncRequests.ContainsKey(packet.Type.ToString())) | ||
683 | cinfo.AsyncRequests[packet.Type.ToString()] = 0; | ||
684 | cinfo.AsyncRequests[packet.Type.ToString()]++; | ||
685 | |||
681 | object obj = new AsyncPacketProcess(this, pprocessor.method, packet); | 686 | object obj = new AsyncPacketProcess(this, pprocessor.method, packet); |
682 | Util.FireAndForget(ProcessSpecificPacketAsync, obj); | 687 | Util.FireAndForget(ProcessSpecificPacketAsync, obj); |
683 | result = true; | 688 | result = true; |
684 | } | 689 | } |
685 | else | 690 | else |
686 | { | 691 | { |
692 | ClientInfo cinfo = UDPClient.GetClientInfo(); | ||
693 | if (!cinfo.SyncRequests.ContainsKey(packet.Type.ToString())) | ||
694 | cinfo.SyncRequests[packet.Type.ToString()] = 0; | ||
695 | cinfo.SyncRequests[packet.Type.ToString()]++; | ||
696 | |||
687 | result = pprocessor.method(this, packet); | 697 | result = pprocessor.method(this, packet); |
688 | } | 698 | } |
689 | } | 699 | } |
@@ -698,6 +708,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
698 | } | 708 | } |
699 | if (found) | 709 | if (found) |
700 | { | 710 | { |
711 | ClientInfo cinfo = UDPClient.GetClientInfo(); | ||
712 | if (!cinfo.GenericRequests.ContainsKey(packet.Type.ToString())) | ||
713 | cinfo.GenericRequests[packet.Type.ToString()] = 0; | ||
714 | cinfo.GenericRequests[packet.Type.ToString()]++; | ||
715 | |||
701 | result = method(this, packet); | 716 | result = method(this, packet); |
702 | } | 717 | } |
703 | } | 718 | } |
@@ -12030,7 +12045,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12030 | ClientInfo info = m_udpClient.GetClientInfo(); | 12045 | ClientInfo info = m_udpClient.GetClientInfo(); |
12031 | 12046 | ||
12032 | info.proxyEP = null; | 12047 | info.proxyEP = null; |
12033 | info.agentcircuit = RequestClientInfo(); | 12048 | if (info.agentcircuit == null) |
12049 | info.agentcircuit = RequestClientInfo(); | ||
12034 | 12050 | ||
12035 | return info; | 12051 | return info; |
12036 | } | 12052 | } |