diff options
author | Tom Grimshaw | 2010-05-17 14:14:19 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-05-17 14:14:19 -0700 |
commit | 8f838c722da978da646fcef59a5af767840832bb (patch) | |
tree | 83b22c669659e26a16ca14a8ad6b6c292b805af1 /OpenSim/Client | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-8f838c722da978da646fcef59a5af767840832bb.zip opensim-SC-8f838c722da978da646fcef59a5af767840832bb.tar.gz opensim-SC-8f838c722da978da646fcef59a5af767840832bb.tar.bz2 opensim-SC-8f838c722da978da646fcef59a5af767840832bb.tar.xz |
When killing a zombie session, don't send the stop packet since it often has the effect of killing a newly connected client.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Client/MXP/ClientStack/MXPClientView.cs | 10 | ||||
-rw-r--r-- | OpenSim/Client/Sirikata/ClientStack/SirikataClientView.cs | 5 | ||||
-rw-r--r-- | OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs | 5 |
3 files changed, 19 insertions, 1 deletions
diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs index 1d6d4c1..12989f5 100644 --- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs +++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs | |||
@@ -835,10 +835,18 @@ namespace OpenSim.Client.MXP.ClientStack | |||
835 | 835 | ||
836 | public void Close() | 836 | public void Close() |
837 | { | 837 | { |
838 | Close(true); | ||
839 | } | ||
840 | |||
841 | public void Close(bool sendStop) | ||
842 | { | ||
838 | m_log.Info("[MXP ClientStack] Close Called"); | 843 | m_log.Info("[MXP ClientStack] Close Called"); |
839 | 844 | ||
840 | // Tell the client to go | 845 | // Tell the client to go |
841 | SendLogoutPacket(); | 846 | if (sendStop == true) |
847 | { | ||
848 | SendLogoutPacket(); | ||
849 | } | ||
842 | 850 | ||
843 | // Let MXPPacketServer clean it up | 851 | // Let MXPPacketServer clean it up |
844 | if (Session.SessionState != SessionState.Disconnected) | 852 | if (Session.SessionState != SessionState.Disconnected) |
diff --git a/OpenSim/Client/Sirikata/ClientStack/SirikataClientView.cs b/OpenSim/Client/Sirikata/ClientStack/SirikataClientView.cs index 43c64e9..c4b5c87 100644 --- a/OpenSim/Client/Sirikata/ClientStack/SirikataClientView.cs +++ b/OpenSim/Client/Sirikata/ClientStack/SirikataClientView.cs | |||
@@ -446,6 +446,11 @@ namespace OpenSim.Client.Sirikata.ClientStack | |||
446 | 446 | ||
447 | public void Close() | 447 | public void Close() |
448 | { | 448 | { |
449 | Close(true); | ||
450 | } | ||
451 | |||
452 | public void Close(bool sendStop) | ||
453 | { | ||
449 | throw new System.NotImplementedException(); | 454 | throw new System.NotImplementedException(); |
450 | } | 455 | } |
451 | 456 | ||
diff --git a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs index 864b4f1..39a16bc 100644 --- a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs +++ b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs | |||
@@ -452,6 +452,11 @@ namespace OpenSim.Client.VWoHTTP.ClientStack | |||
452 | 452 | ||
453 | public void Close() | 453 | public void Close() |
454 | { | 454 | { |
455 | Close(true); | ||
456 | } | ||
457 | |||
458 | public void Close(bool sendStop) | ||
459 | { | ||
455 | throw new System.NotImplementedException(); | 460 | throw new System.NotImplementedException(); |
456 | } | 461 | } |
457 | 462 | ||