* 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
This commit is contained in:
John Hurliman
2009-10-02 12:00:42 -07:00
parent 3ba36bb4d8
commit 9b342d3e0d
3 changed files with 19 additions and 59 deletions

View File

@@ -776,10 +776,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
{
QueueEmpty handlerQueueEmpty = OnQueueEmpty;
if (handlerQueueEmpty == null)
return;
handlerQueueEmpty(queue);
if (handlerQueueEmpty != null)
handlerQueueEmpty(queue);
}
// Convert the packet to bytes and stuff it onto the send queue