aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTeravus Ovares2009-01-06 01:10:26 +0000
committerTeravus Ovares2009-01-06 01:10:26 +0000
commitdf82eaf8a83d5e09080a042b715a01d66d548dfb (patch)
tree1abf368d27b9d24c518449520ea45183f6fd350d
parent* Kill an endless loop in the Instant Message delivery system (diff)
downloadopensim-SC-df82eaf8a83d5e09080a042b715a01d66d548dfb.zip
opensim-SC-df82eaf8a83d5e09080a042b715a01d66d548dfb.tar.gz
opensim-SC-df82eaf8a83d5e09080a042b715a01d66d548dfb.tar.bz2
opensim-SC-df82eaf8a83d5e09080a042b715a01d66d548dfb.tar.xz
* Mjnor: Clarified comment to ensure that people are aware of how to end the recursive calls
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs
index afd6a4c..353cc77 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs
@@ -419,8 +419,16 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage
419 419
420 /// <summary> 420 /// <summary>
421 /// Recursive SendGridInstantMessage over XMLRPC method. 421 /// Recursive SendGridInstantMessage over XMLRPC method.
422 /// This is called from within a dedicated thread.
423 /// The first time this is called, prevRegionHandle will be 0 Subsequent times this is called from
424 /// itself, prevRegionHandle will be the last region handle that we tried to send.
425 /// If the handles are the same, we look up the user's location using the grid.
426 /// If the handles are still the same, we end. The send failed.
422 /// </summary> 427 /// </summary>
423 /// <param name="prevRegionHandle"></param> 428 /// <param name="prevRegionHandle">
429 /// Pass in 0 the first time this method is called. It will be called recursively with the last
430 /// regionhandle tried
431 /// </param>
424 protected virtual void SendGridInstantMessageViaXMLRPCAsync(GridInstantMessage im, MessageResultNotification result, ulong prevRegionHandle) 432 protected virtual void SendGridInstantMessageViaXMLRPCAsync(GridInstantMessage im, MessageResultNotification result, ulong prevRegionHandle)
425 { 433 {
426 UUID toAgentID = new UUID(im.toAgentID); 434 UUID toAgentID = new UUID(im.toAgentID);