aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-11-15 03:09:20 +0000
committerJustin Clark-Casey (justincc)2012-11-15 03:09:20 +0000
commitdaf03bfb567a7a93a9259945386325fd924f8bd1 (patch)
tree69f51cd0e505f701ecfb8dd0b7865fcf4f3e3048 /OpenSim
parentDo HandleMapLayerRequest on its own thread rather than on the main inbound ud... (diff)
downloadopensim-SC-daf03bfb567a7a93a9259945386325fd924f8bd1.zip
opensim-SC-daf03bfb567a7a93a9259945386325fd924f8bd1.tar.gz
opensim-SC-daf03bfb567a7a93a9259945386325fd924f8bd1.tar.bz2
opensim-SC-daf03bfb567a7a93a9259945386325fd924f8bd1.tar.xz
Handle Map block requests on a separate thread rather than the main packet handling thread.
This prevents a slow grid information network call from holding up the main packet handling thread. There's no obvious race condition reason for not doing this asynchronously.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 92a630f..4fd81fa 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -5321,7 +5321,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5321 AddLocalPacketHandler(PacketType.MoveTaskInventory, HandleMoveTaskInventory); 5321 AddLocalPacketHandler(PacketType.MoveTaskInventory, HandleMoveTaskInventory);
5322 AddLocalPacketHandler(PacketType.RezScript, HandleRezScript); 5322 AddLocalPacketHandler(PacketType.RezScript, HandleRezScript);
5323 AddLocalPacketHandler(PacketType.MapLayerRequest, HandleMapLayerRequest); 5323 AddLocalPacketHandler(PacketType.MapLayerRequest, HandleMapLayerRequest);
5324 AddLocalPacketHandler(PacketType.MapBlockRequest, HandleMapBlockRequest, false); 5324 AddLocalPacketHandler(PacketType.MapBlockRequest, HandleMapBlockRequest);
5325 AddLocalPacketHandler(PacketType.MapNameRequest, HandleMapNameRequest); 5325 AddLocalPacketHandler(PacketType.MapNameRequest, HandleMapNameRequest);
5326 AddLocalPacketHandler(PacketType.TeleportLandmarkRequest, HandleTeleportLandmarkRequest); 5326 AddLocalPacketHandler(PacketType.TeleportLandmarkRequest, HandleTeleportLandmarkRequest);
5327 AddLocalPacketHandler(PacketType.TeleportCancel, HandleTeleportCancel); 5327 AddLocalPacketHandler(PacketType.TeleportCancel, HandleTeleportCancel);