aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PacketPool.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* In the packetpool, if we encounter a data block that somehow wasn't ↵Justin Clark-Casey (justincc)2011-07-311-6/+11
| | | | retrieved via GetDataBlock() then create a new stack instead of throwing an exception
* Limit the number of packet data blocks to 50, as packets are already limitedMelanie2009-09-301-1/+2
| | | | | This is enough to prevent the fast back and forth of allocation and release the pool is meant to prevent, but not too much so we don't hog memory
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* Implement an ingenious solution to pacekt pool performance suggested byMelanie Thielker2009-05-081-20/+10
| | | | | | dlslake.
* Add copyright header. Formatting cleanup. Ignore some generated files.Jeff Ames2009-05-051-1/+1
|
* Numerous packet improvements.Melanie Thielker2009-05-021-44/+60
| | | | | | | | | | | | | 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.
* Also add these packet to the list of packets to be recycled. No enabledMelanie Thielker2009-05-021-0/+2
| | | | | | by default
* Fix the issue that stopped the packet pool from working. Add a mechanismMelanie Thielker2009-05-021-0/+66
| | | | | | | | 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.
* Avoid NRE if client sends unrecognized packet type.Jeff Ames2009-03-031-1/+8
|
* * Replace manually zeroing with Array.Clear(). Thanks cmickeybJustin Clarke Casey2008-12-171-3/+1
|
* * Apply a modified version of the part of ↵Justin Clarke Casey2008-10-131-1/+1
| | | | | | | | | | | | | | http://opensimulator.org/mantis/view.php?id=2361 that allows region registration to be enabled/disabled on the grid server * Region registration is enabled by default in the configuration unless the user chooses otherwise * On the console * show status - shows grid status * enable-reg - enables region registration to the grid * disable-reg - disables region registration * Enabling or disabling region registration will not affect any other grid functions or regions already on the grid
* Update svn properties, minor formatting cleanup.Jeff Ames2008-10-121-2/+2
|
* Add one more check for key presenceMelanie Thielker2008-10-121-1/+1
|
* * Removed a lock in a high performance section of OpenSim, in cases when it ↵Adam Frisby2008-10-121-0/+3
| | | | is not necessary.
* * Small fix for when PacketPool is disabled to prevent it from crashing ↵Adam Frisby2008-10-121-1/+1
| | | | immedietly.
* LLUDP Client ViewAdam Frisby2008-10-121-22/+32
| | | | | | | * Experimenting with the PacketPool mechanism. * It's still disabled in the code, however there's now a flag to enable it. * Converted to use Generic Collections vs Hashtables, also now uses a list of 'OK to pool' packets, starting with the high volume PacketAck packet.
* Implement proper persistence of the following prim properties:Melanie Thielker2008-09-081-0/+4
| | | | | | | | | Floating text, Rotation, Texture animation, Particle System This will make "Eye Candy" scripts work without modification in XEngine. The use of the CHANGED_REGION_RESTART hack is no longer needed. Implemented in MySQL only, hovertext also in SQLite.
* * minor: just minor doc and tidy upJustin Clarke Casey2008-09-071-0/+4
|
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-5/+7
| | | | | | | * 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.
* Patch #9160Melanie Thielker2008-08-081-40/+1
| | | | | | | Refactor proxy encode/decode methods out of the PacketPool into their own class.
* More formatting cleanup.Jeff Ames2008-05-141-1/+1
|
* Formatting cleanup.Jeff Ames2008-05-141-1/+1
|
* * Breaking all the code, breaking all the code..!Adam Frisby2008-05-011-2/+2
| | | | | * Made a bunch more members static, removed some dead code, general cleaning.
* * Spring cleaning.Adam Frisby2008-04-291-39/+37
| | | | | * Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned.
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-211-7/+8
| | | | (this took a while to run).
* Added back a fix that lbsa71 did aqes ago to fix a buffer overflow in the ↵MW2008-03-201-1/+2
| | | | packetpool, which somewhere through time got lost/reverted
* Formatting cleanup.Jeff Ames2008-03-181-10/+10
|
* Formatting cleanup.Jeff Ames2008-03-181-26/+26
|
* * Removed more compiler warnings, dead code, etc.Adam Frisby2008-03-051-0/+2
|
* Merged 3Di code that provides scene and avatar serialization, and plugin ↵Johan Berntsson2008-03-041-43/+61
| | | | support for region move/split/merge. See ThirdParty/3Di/README.txt. Unless the new modules are used there should be no noticeable changes when running OpenSim.
* Whitespace cleanup.Jeff Ames2008-01-101-3/+3
|
* Packet recycling has been temporarily disabled to avoid the performance ↵Johan Berntsson2008-01-031-0/+5
| | | | problems reported in Mantis 281
* Fixed buffer overrun bug in ZeroDecodeCommandJohan Berntsson2008-01-021-2/+23
|
* * Fixed an issue where the PacketPool would ZeroDecodeCommand into a too ↵lbsa712008-01-021-1/+2
| | | | | | | small buffer. The new buffer size is based on analysis of real data, not on knowledge; this should be reviewed by the original PacketPool author.
* Patch from Johan: LibSL updated to the latest revision (1568) and all ↵Adam Johnson2007-12-281-0/+131
packets are now recycled to improve performance and memory usage.