diff options
author | Justin Clark-Casey (justincc) | 2012-06-08 03:12:23 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-06-08 03:12:23 +0100 |
commit | 5f4f9f02309b7df4d1bdcc560cee96d266c48a07 (patch) | |
tree | d002750bc7fb10d9869afd6459a56d4437738ca8 /OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |
parent | Remove null checks at top of LLUDPServer.ProcessInPacket(). Neither packet n... (diff) | |
download | opensim-SC-5f4f9f02309b7df4d1bdcc560cee96d266c48a07.zip opensim-SC-5f4f9f02309b7df4d1bdcc560cee96d266c48a07.tar.gz opensim-SC-5f4f9f02309b7df4d1bdcc560cee96d266c48a07.tar.bz2 opensim-SC-5f4f9f02309b7df4d1bdcc560cee96d266c48a07.tar.xz |
Add regression test for client logout due to ack timeout.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index a292a6c..58a3b1c 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |||
@@ -147,11 +147,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
147 | private int m_elapsed500MSOutgoingPacketHandler; | 147 | private int m_elapsed500MSOutgoingPacketHandler; |
148 | 148 | ||
149 | /// <summary>Flag to signal when clients should check for resends</summary> | 149 | /// <summary>Flag to signal when clients should check for resends</summary> |
150 | private bool m_resendUnacked; | 150 | protected bool m_resendUnacked; |
151 | |||
151 | /// <summary>Flag to signal when clients should send ACKs</summary> | 152 | /// <summary>Flag to signal when clients should send ACKs</summary> |
152 | private bool m_sendAcks; | 153 | protected bool m_sendAcks; |
154 | |||
153 | /// <summary>Flag to signal when clients should send pings</summary> | 155 | /// <summary>Flag to signal when clients should send pings</summary> |
154 | private bool m_sendPing; | 156 | protected bool m_sendPing; |
155 | 157 | ||
156 | private int m_defaultRTO = 0; | 158 | private int m_defaultRTO = 0; |
157 | private int m_maxRTO = 0; | 159 | private int m_maxRTO = 0; |
@@ -1244,7 +1246,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1244 | Watchdog.RemoveThread(); | 1246 | Watchdog.RemoveThread(); |
1245 | } | 1247 | } |
1246 | 1248 | ||
1247 | private void ClientOutgoingPacketHandler(IClientAPI client) | 1249 | protected void ClientOutgoingPacketHandler(IClientAPI client) |
1248 | { | 1250 | { |
1249 | m_currentOutgoingClient = client; | 1251 | m_currentOutgoingClient = client; |
1250 | 1252 | ||