aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-02* Reversing experimental change in previous rev.Adam Frisby1-1/+1
2009-05-02* Experimental: Speeds maximum resend per second from 80 packets to 400. ↵Adam Frisby1-1/+1
(From maximum 117kbit to 585kbit)
2009-05-02If a packet pooling blows up, fail gracefully instead of disconnectingMelanie Thielker1-20/+32
the user
2009-05-02Handle resends betterMelanie Thielker1-1/+1
2009-05-02Move a lock to attempt to cut down packet lossMelanie Thielker1-4/+4
2009-05-02Numerous packet improvements.Melanie Thielker1-8/+14
Don't allow packets to be resent before they have actually been sent for the first time. Switch from serializing a packet to get it's length to the LibOMV provided Length property. Fix resend timing. Fix the use of dangling references to Acked packets. Fix the packet handler to play nice with the packet pool. Fix the packet pool. Add data block recycling to the packet pool. Packet pool is now ENABLED by default. Add config option to disable packet and data block reuse. Add ObjectUpdate and ImprovedTerseObjectUpdate to the packets being recycled.
2009-05-02Fix the issue that stopped the packet pool from working. Add a mechanismMelanie Thielker1-1/+5
to recycley data blocs within a packet. Recycle the ObjectUpdate* data blocks. Speeds up loading even more. This may mean that the packet pool is now viable.
2009-02-25* minor: Remove most mono compiler warningsJustin Clarke Casey1-2/+3
2009-02-25A few updates necessary for load balancer.Mike Mazur1-23/+36
- handle GetUser request for nonexistent user gracefully - include throttle levels in ClientInfo - code to save/restore throttles in client stack - only update/send updates to active clients - make animation classes serializable
2009-02-12* optimized usings.lbsa711-17/+12
2009-01-12* Extend PacketHandlerTest to fire in a packet.Justin Clarke Casey1-1/+2
* Can't test result yet since the Client thread handles it with unpredictable timing
2009-01-12* refactor: move packet handler interface into a separate classJustin Clarke Casey1-34/+1
2009-01-03* Updates the sim stats module. Cleans out some of the rot.Teravus Ovares1-0/+4
* Adds a prototype web stats module which is disabled by default. It's functional with one report right now, however, the database structure may change, so I don't recommend enabling this to keep actual stats right now. I'll let you know when it's safe. * Adds Prototype for ajaxy web content * removed a warning or two.
2008-12-19minor: remove mono compiler warningJustin Clarke Casey1-1/+0
2008-12-17Reapply the packet optimization patch, with changesMelanie Thielker1-34/+24
2008-12-17Revert 7754 and 7755 pending a reworkMelanie Thielker1-28/+36
2008-12-17Stop packets that may be resent from being returned to the packet pool.Melanie Thielker1-1/+8
FWIW
2008-12-17Marry AckData to LLQueItem, and store packet data and length there forMelanie Thielker1-36/+28
use everywhere. Each packet gets serialized only once now in PacketHandler
2008-12-17Revamp packet handler to smooth out the stream of resent packets.Melanie Thielker1-43/+61
Eliminates the bursting in resends observed in the prior implementation
2008-11-08* Fixed issue where incorrect braces nesting resulted in a section of ↵Adam Frisby1-24/+22
PacketQueue getting disabled. * This means the recent memory fix should now be working correctly - so the current largest memory leak should be fixed. AssetCache still needs to be addressed however.
2008-11-08* Fixed a major memory leak in packet processing - PacketQueue.Close is ↵Adam Frisby1-26/+35
never called, causing the PacketQueue for dead clients to be preserved (including it's contents). * This patch is highly experimental and may cause clients to not be able to connect, if this is the case, it will be rolled back in approximately 5 minutes.
2008-10-06* restore Header.Resent field setting for resent packetsJustin Clarke Casey1-0/+4
* without this, the client appears to reset the sequence of packets its expecting
2008-10-05Revert the packet resend timing changes. They caused login issues in primmyMelanie Thielker1-2/+2
regions.
2008-10-05Craters, take 2. Remove old discard logic and absolute discard timer. Melanie Thielker1-47/+27
Introduce a resend counter on the ack queue. The header "Resent" field is now obsolete. Implement 3 resends on reliable packets, variable. Increase default resend timeout to 3000ms and default silence threshold to 350ms.
2008-10-05* An update to the UDP Packet handler which might make the giant sized ↵Teravus Ovares1-1/+1
craters go away.
2008-10-03* Put in some infrastructure to allow tweaking of packet queue throttle ↵Justin Clarke Casey1-2/+2
values for the total throttle (the one that throttles all packet output) * Not complete yet
2008-10-03* minor: remove warnings (the code cleaners strike again)Justin Clarke Casey1-1/+0
2008-10-01* minor: oh, and comment out the now unused logger as wellJustin Clarke Casey1-2/+2
2008-10-01* minor: Comment out temporarily statistical counter I accidentally left in ↵Justin Clarke Casey1-1/+1
from the last commit
2008-10-01* Try bumping packet resend timeout up to 2 seconds instead of 1Justin Clarke Casey1-9/+22
* This actually probably doesn't make a huge difference. We still end up resending a massive number of packets in quite a few situations, but it's not easy to consistently reproduce this. * Might really need some throttling of packet send to the client on the OpenSim end.
2008-10-01* Fix bug in LLPacketHandler where the tickcount when a packet was ↵Justin Clarke Casey1-8/+20
approximately sent was not being stored in the ack record * This meant that acks were being sent out every 250ms when the ack timer fired, rather than when they had actually aged past m_ResendTimeout
2008-09-28Add some methods to allow modules so set client view optionsMelanie Thielker1-0/+1
2008-09-28Mantis #2288Melanie Thielker1-4/+16
Correct a typo in namespace declaration Also adds a new flag to the PacketManager to force retention of packets marked reliable (default off)
2008-09-26* Patch from JHurlimanTeravus Ovares1-5/+5
* Updates to libomv r2243, * Remove lots of unnecessary typecasts * Improves SendWindData() Thanks jhurliman. * Will update OpenSim-libs in 10 minutes..
2008-09-21* Fix http://opensimulator.org/mantis/view.php?id=2189Justin Clarke Casey1-0/+2
* Allow a grid mode region simulator to properly shutdown even if the grid service is offline
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-5/+5
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-08-28Update svn properties, formatting cleanup.Jeff Ames1-2/+2
2008-08-25* zap compilation warningsJustin Clarke Casey1-2/+2
2008-08-25* This commit incorporates the heart of the OpenGridProtocol patch that is ↵Teravus Ovares1-0/+6
currently on Forge in a nice, friendly modular format. * There are a lot of changes and this is quite experimental. It's off by default, but you can turn it on by examining the bottom of the opensim.ini.example for the proper OpenSim.ini settings. Remember, you still need an agent domain.. * Furthermore, it isn't quite right when it comes to teleporting to remote regions (place_avatar)
2008-08-22* Allow an exception generated in ProcessOutPacket to travel up the stackJustin Clarke Casey1-27/+16
* It is dealt with correctly further up, at which point the user is also notified and the failure recorded as a statistic
2008-08-19Packet type exclusion (Mantis #2004)Melanie Thielker1-2/+4
Exclude SimStats packets from ack appending.
2008-08-18Formatting cleanup.Jeff Ames1-7/+7
2008-08-12Minor formatting cleanup.Jeff Ames1-16/+16
2008-08-10Attempt to address Mantis #1905, #1909Melanie Thielker1-12/+17
Prevent re-sequencing of resent packets. Thanks, ckrinke, for catching that, it is what was happening.
2008-08-08Update svn properties, minor formatting cleanup.Jeff Ames1-3/+3
2008-08-07Patch #9159Melanie Thielker1-16/+27
Complete the support for dupe tracking. Eliminate one of the "Eternal caches".
2008-08-07Patch #9158Melanie Thielker1-12/+73
Refactor packet sending into LLPacketHandler. Change packet sequencing and ack lists to ensure packet sequences conform to wire order.
2008-08-07Minor formatting cleanup.Jeff Ames1-6/+6
2008-07-29Prevent acks from being appended to viewer effect packets, sinceMelanie Thielker1-0/+7
that has been known to cause an exception in libomv ^^