aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-10-09Calling .Close() on AutoResetEvent and ManualResetEvent (those classes ↵John Hurliman5-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
2009-10-09* Added a lock object for the write functions in LLUDPClientCollection ↵John Hurliman3-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
2009-10-08Simplified LLUDPClientCollection from three collections down to one. This ↵John Hurliman3-95/+29
will prevent any potential problems from inconsistency between the internal collections
2009-10-08Fear the lockless LLUDP implementation!John Hurliman1-192/+60
2009-10-08Putting the lock back in TryGetValue.Diva Canto2-349/+349
2009-10-08Fork UDPBase from libOMV into opensimMelanie2-1/+341
2009-10-08Added guards against the exception reported:Diva Canto1-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
2009-10-08Remove ThreadTrackerTest. It's no longer relevant because the threadMelanie1-56/+0
tracker now uses the system thread list
2009-10-07One last attempt at tunning the locking/no locking behaviour. The previous ↵Diva Canto1-10/+16
one was too lax and made the important login packets fail.
2009-10-07Another go at the deadlock: not locking TryGetValue, and just catch/ignore ↵Diva Canto1-15/+31
exceptions.
2009-10-07Bug fix.Diva Canto1-2/+6
2009-10-07Changed the locking mechanism, because the existing one is causing deadlocks ↵Diva Canto1-25/+100
to occur.
2009-10-07Printout one more field in show threads, but this won't buy us much.Diva Canto1-1/+2
2009-10-07store owner_uuid in the region tableMelanie1-0/+1
2009-10-07Remove debug againMelanie1-1/+1
2009-10-07Enable debugging of the region connector's query stringMelanie1-1/+1
2009-10-07Add owner_uuid. Not sure this works. Worth a testMelanie1-0/+14
2009-10-07Improved fault handling in HelloNeighbour.Diva Canto1-13/+23
2009-10-06A small change in FetchInventoryDescendantsCAPS.Diva Canto1-1/+2
2009-10-06Uncommented log message on CAPs FetchInventoryDescendantsDiva Canto1-3/+3
2009-10-07replace LLClientView with proper versionMelanie1-1898/+1332
2009-10-07Replace LLClientView on the branch with master. UNCOMPILABLE!Melanie1-1332/+1898
2009-10-07Uncommented log message on CAPs FetchInventoryDescendantsDiva Canto1-3/+3
2009-10-06* One more debug message on FetchInventoryDescendantsDiva Canto2-17/+63
* More streams close on finally
2009-10-07Revert "Rewrote parts of the code that were double-locking different ↵Melanie9-201/+166
objects. This is about half of the code base reviewed." This reverts commit e992ca025571a891333a57012c2cd4419b6581e5.
2009-10-07Revert "Merging in diva's locking fixes"Melanie12-207/+172
This reverts commit 832cc685138b2244529f10b54b373c34adb4a633.
2009-10-06Commented noisy debugging about packet splittingJohn Hurliman1-4/+4
2009-10-06Checks the number of ThreadPool and IOCP threads on startup and bumps up the ↵John Hurliman1-0/+12
numbers to .NET defaults of 500/1000 if need be
2009-10-06Rewrote parts of the code that were double-locking different objects. This ↵Diva Canto9-166/+201
is about half of the code base reviewed.
2009-10-06Applying the real fix (thank you for tracking that MSDN doc down Melanie)John Hurliman1-5/+6
2009-10-06Trying Melanie's fixJohn Hurliman1-3/+4
2009-10-06Reverting MySQLLegacyRegionData spamJohn Hurliman1-6/+0
2009-10-06MySQLLegacyRegionData: Extreme Spam Edition(tm)John Hurliman1-0/+6
2009-10-06Added a debug line for nebadonJohn Hurliman1-0/+3
2009-10-06* Added a sanity check for Mono before trying to enumerate over an empty ↵John Hurliman2-4/+7
SortedDictionary * Changed the order of a log line from DotNetEngine so you can tell whether or not it is actually loading
2009-10-06* Change some more default ports to the robust default of 8003Justin Clark-Casey (justincc)3-6/+6
* Make these use existing constants rather than hardcoding * These will probably go away soon anyway once all services are under ROBUST
2009-10-06* Added missing references to prebuild.xml and commented out the LindenUDP ↵John Hurliman7-195/+195
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
2009-10-06* Removed verbose debug messageDiva Canto5-10/+4
* Restored HG inventory access which had been lost upon adding a 3rd argument to inventory and asset server handlers * Fixed a stupid bug in the InventoryConnector which was making move items do things twice
2009-10-06* Try/catch around EndInvoke() when Util.FireAndForget() returns to catch ↵John Hurliman4-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
2009-10-06Removing dependencies on System.Runtime.Remoting.Diva Canto1-0/+4
2009-10-06Corrected words in error message.Diva Canto1-2/+2
2009-10-06Commenting the DEBUG code that I added yesterday, because it's causing mono ↵Diva Canto1-6/+6
to fail with https://bugzilla.novell.com/show_bug.cgi?id=538854
2009-10-06Lock the heartbeat against multiple invocations. May prevent deadlocks and/orMelanie1-0/+10
runaway thread use
2009-10-06Remove the using() constructs from the new style database modules; they causedMelanie4-75/+77
the underlying connection of a reader or command to be closed before the reader or command itself. Added the proper logic to Close and dispose items in CloseDBConnection. Readers and Connections need Close(), Commands need Dispose(), in the order Reader, Command, Connection. Also reinstated 80-column-friendly formatting
2009-10-06Fixing a few compile errors in the previous commitJohn Hurliman14-173/+8
2009-10-06* Continued work on the new LLUDP implementation. Appears to be functioning, ↵John Hurliman17-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
2009-10-05Correction on the DEBUG code.Diva Canto1-4/+3
2009-10-05#if DEBBUG code for monitoring the ThreadPool.Diva Canto1-0/+7
2009-10-05Beginning work on the new LLUDP implementationJohn Hurliman14-2336/+1817
2009-10-05Added CloseDBConnection() to replace the old CloseReaderCommand(). This will ↵John Hurliman4-11/+21
close the MySQLConnection attached to a MySQLCommand. I'm not sure if this accounts for every time a database connection needs to be closed, but it matches up 1:1 with the places where the database connection was previously being closed