aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* Slow down the packet receiving code again after new reports of thread storms.Melanie2009-10-091-4/+8
|
* Change the backup thread to run on a BackgroundWorker instead of a Thread. I ↵John Hurliman2009-10-091-4/+4
| | | | don't have an explanation, but this seems to stop a slow but steady memory leak I was experiencing
* Forgot to initialize m_writeLockJohn Hurliman2009-10-091-1/+1
|
* Added more debugging output to the "unrecognized source" warningJohn Hurliman2009-10-091-1/+2
|
* Calling .Close() on AutoResetEvent and ManualResetEvent (those classes ↵John Hurliman2009-10-095-5/+10
| | | | contain an unmanaged resource that will not automatically be disposed when they are GCed), and commenting out some ManualResetEvents that are not in use yet
* * Added a lock object for the write functions in LLUDPClientCollection ↵John Hurliman2009-10-093-210/+169
| | | | | | | (immutable != concurrent write safety) * Allow the UDP server to bind to a user-specified port again * Updated to a newer version of OpenSimUDPBase that streamlines the code even more. This also reintroduces the highly concurrent packet handling which needs more testing
* Simplified LLUDPClientCollection from three collections down to one. This ↵John Hurliman2009-10-083-95/+29
| | | | will prevent any potential problems from inconsistency between the internal collections
* Fear the lockless LLUDP implementation!John Hurliman2009-10-085-192/+149
|
* Putting the lock back in TryGetValue.Diva Canto2009-10-082-349/+349
|
* Fork UDPBase from libOMV into opensimMelanie2009-10-082-1/+341
|
* Added guards against the exception reported:Diva Canto2009-10-081-0/+9
| | | | | | | | | #2009-10-08 12:58:34,462 ERROR - OpenSim.Application [APPLICATION]: #APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs # #Exception: System.Exception: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. # at OpenSim.Region.ClientStack.LindenUDP.J2KImage.SendFirstPacket(LLClientView client) in c:\Opensim\OpenSim\Region\ClientStack\LindenUDP\J2KImage.cs:line 230 # at OpenSim.Region.ClientStack.LindenUDP.J2KImage.SendPackets(LLClientView client, Int32 maxpack) in c:\Opensim\OpenSim\Region\ClientStack\LindenUDP\J2KImage.cs:line 84
* Remove ThreadTrackerTest. It's no longer relevant because the threadMelanie2009-10-081-56/+0
| | | | tracker now uses the system thread list
* Merge branch 'htb-throttle'Melanie2009-10-0846-4807/+3321
|\
| * One last attempt at tunning the locking/no locking behaviour. The previous ↵Diva Canto2009-10-071-10/+16
| | | | | | | | one was too lax and made the important login packets fail.
| * Another go at the deadlock: not locking TryGetValue, and just catch/ignore ↵Diva Canto2009-10-071-15/+31
| | | | | | | | exceptions.
| * Bug fix.Diva Canto2009-10-071-2/+6
| |
| * Changed the locking mechanism, because the existing one is causing deadlocks ↵Diva Canto2009-10-071-25/+100
| | | | | | | | to occur.
| * Printout one more field in show threads, but this won't buy us much.Diva Canto2009-10-071-1/+2
| |
| * Merge branch 'master' into htb-throttleMelanie2009-10-071-1/+2
| |\
| * | replace LLClientView with proper versionMelanie2009-10-071-1898/+1332
| | |
| * | Merge branch 'master' into htb-throttleMelanie2009-10-070-0/+0
| |\ \
| * | | Replace LLClientView on the branch with master. UNCOMPILABLE!Melanie2009-10-071-1332/+1898
| | | |
| * | | Uncommented log message on CAPs FetchInventoryDescendantsDiva Canto2009-10-071-3/+3
| | | |
| * | | Merge branch 'master' into htb-throttleMelanie2009-10-072-17/+63
| |\ \ \
| * | | | Revert "Merging in diva's locking fixes"Melanie2009-10-0712-207/+172
| | | | | | | | | | | | | | | | | | | | This reverts commit 832cc685138b2244529f10b54b373c34adb4a633.
| * | | | Commented noisy debugging about packet splittingJohn Hurliman2009-10-061-4/+4
| | | | |
| * | | | Merging in diva's locking fixesJohn Hurliman2009-10-0612-172/+207
| |\ \ \ \
| * | | | | Checks the number of ThreadPool and IOCP threads on startup and bumps up the ↵John Hurliman2009-10-061-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | numbers to .NET defaults of 500/1000 if need be
| * | | | | Applying the real fix (thank you for tracking that MSDN doc down Melanie)John Hurliman2009-10-061-5/+6
| | | | | |
| * | | | | Trying Melanie's fixJohn Hurliman2009-10-061-3/+4
| | | | | |
| * | | | | Reverting MySQLLegacyRegionData spamJohn Hurliman2009-10-061-6/+0
| | | | | |
| * | | | | MySQLLegacyRegionData: Extreme Spam Edition(tm)John Hurliman2009-10-061-0/+6
| | | | | |
| * | | | | Added a debug line for nebadonJohn Hurliman2009-10-061-0/+3
| | | | | |
| * | | | | * Added a sanity check for Mono before trying to enumerate over an empty ↵John Hurliman2009-10-062-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SortedDictionary * Changed the order of a log line from DotNetEngine so you can tell whether or not it is actually loading
| * | | | | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵John Hurliman2009-10-0613-93/+103
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | htb-throttle
| * | | | | | * Added missing references to prebuild.xml and commented out the LindenUDP ↵John Hurliman2009-10-068-195/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests until a new test harness is written * Clients are no longer disconnected when a packet handler crashes. We'll see how this works out in practice * Added documentation and cleanup, getting ready for the first public push * Deleted an old LLUDP file
| * | | | | | * Try/catch around EndInvoke() when Util.FireAndForget() returns to catch ↵John Hurliman2009-10-064-79/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exceptions thrown in the async method * Added packet stats handling to the new LLUDP implementation * Attempting to avoid a race condition when creating a new LLUDPClient
| * | | | | | Fixing a few compile errors in the previous commitJohn Hurliman2009-10-0614-173/+8
| | | | | | |
| * | | | | | * Continued work on the new LLUDP implementation. Appears to be functioning, ↵John Hurliman2009-10-0617-2242/+1278
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | although not everything is reimplemented yet * Replaced logic in ThreadTracker with a call to System.Diagnostics that does the same thing * Added Util.StringToBytes256() and Util.StringToBytes1024() to clamp output at byte[256] and byte[1024], respectively * Fixed formatting for a MySQLAssetData error logging line
| * | | | | | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵John Hurliman2009-10-0534-1621/+2111
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | htb-throttle
| * | | | | | | Beginning work on the new LLUDP implementationJohn Hurliman2009-10-0514-2336/+1817
| | | | | | | |
* | | | | | | | store owner_uuid in the region tableMelanie2009-10-071-0/+1
| | | | | | | |
* | | | | | | | Remove debug againMelanie2009-10-071-1/+1
| | | | | | | |
* | | | | | | | Enable debugging of the region connector's query stringMelanie2009-10-071-1/+1
| | | | | | | |
* | | | | | | | Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensimMelanie2009-10-071-13/+23
|\ \ \ \ \ \ \ \
| * | | | | | | | Improved fault handling in HelloNeighbour.Diva Canto2009-10-071-13/+23
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | Add owner_uuid. Not sure this works. Worth a testMelanie2009-10-071-0/+14
|/ / / / / / /
* | | | | | | A small change in FetchInventoryDescendantsCAPS.Diva Canto2009-10-061-1/+2
| |_|_|_|_|/ |/| | | | |
* | | | | | Uncommented log message on CAPs FetchInventoryDescendantsDiva Canto2009-10-061-3/+3
| |_|_|_|/ |/| | | |
* | | | | * One more debug message on FetchInventoryDescendantsDiva Canto2009-10-062-17/+63
| | | | | | | | | | | | | | | | | | | | * More streams close on finally