diff options
author | John Hurliman | 2009-10-02 12:00:42 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-02 12:00:42 -0700 |
commit | 9b342d3e0d85e64e143b9fe1010e4e27135e24ec (patch) | |
tree | 1bbf000b036f333cbe8fe10530c749ea6821a739 /OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | |
parent | Restore the missing image handling to the image manager. The missing (diff) | |
download | opensim-SC-9b342d3e0d85e64e143b9fe1010e4e27135e24ec.zip opensim-SC-9b342d3e0d85e64e143b9fe1010e4e27135e24ec.tar.gz opensim-SC-9b342d3e0d85e64e143b9fe1010e4e27135e24ec.tar.bz2 opensim-SC-9b342d3e0d85e64e143b9fe1010e4e27135e24ec.tar.xz |
* Changed the flush logic to drop packets in non-transactional streams, and to not fire any "put more data in the queues" callbacks
* Minor tweaks to code formatting to make the callback chain for packet queuing easier to follow
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs index 37f6ca7..e98a360 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | |||
@@ -776,10 +776,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
776 | { | 776 | { |
777 | QueueEmpty handlerQueueEmpty = OnQueueEmpty; | 777 | QueueEmpty handlerQueueEmpty = OnQueueEmpty; |
778 | 778 | ||
779 | if (handlerQueueEmpty == null) | 779 | if (handlerQueueEmpty != null) |
780 | return; | 780 | handlerQueueEmpty(queue); |
781 | |||
782 | handlerQueueEmpty(queue); | ||
783 | } | 781 | } |
784 | 782 | ||
785 | // Convert the packet to bytes and stuff it onto the send queue | 783 | // Convert the packet to bytes and stuff it onto the send queue |