aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-11-06* refactor: factor out test packet send method in client stack unit testsJustin Clarke Casey2-10/+66
2008-11-05* Fix capitalization typoes in packet throttle that happened to be the name ↵Justin Clarke Casey1-2/+2
of existing fields * This should (hopefully) allow TestClient and stuff built on top of it to work again * Will probably come back later and change variable names to stop this happening again
2008-11-05* Properly use the default value if the LindenUDP.ClientStack section exists ↵Justin Clarke Casey1-3/+3
by the client throttle setting does not * Old behaviour was to throw an exception on startup * Print out client stack setting temporarly for debug purposes
2008-11-05* Set default client throttle multiplier to 2 (old value was effectively 8). ↵Justin Clarke Casey3-6/+8
See OpenSim.ini.example for details as to what this means * Really this should be 1, but I think that this would be too slow compared to a Second Life server until we improve our ability to send textures of variable quality * This may improve one aspect of sim performance where there are many avatars. However, there are still other performance problems that are unrelated to this change * Value may be further tuned * Removed temporary decals since the multipler setting will stick around now
2008-11-03* Expose a client_throttle_multiplier setting in OpenSim.ini. This ↵Justin Clarke Casey3-19/+35
multiplier is applied to all the client throttle settings received by the client * This should probably be 1, but currently by default it is 8, to reflect what was being eon3 in OpenSim before this revision. So if the client requested a maximum throttle of 1500 kilobits per second, we would actually send out 1500 kilobytes per second * Adjusting this multiplier down towards 1 may improve your OpenSim experience, though in other situations it may degrade (e.g. if you're using a standalone over high bandwidth links) * This is currently a user setting because adjusting it down may currently reveal other OpenSim bugs.
2008-11-03* Pull client throttle multipler setting out of config source. Not an ↵Justin Clarke Casey1-1/+10
adjustable setting yet (and then only for debug purposes)
2008-11-03* minor: don't need to null check config source in clientstack settings ↵Justin Clarke Casey1-1/+0
since this is always non null
2008-11-03* Use nini to pass config information to the client stack, rather than the ↵Justin Clarke Casey4-6/+18
ClientStackUserSettings class * This conforms better to other module usage
2008-11-01* Massive cleanup of LLClientView, removed a few hundred unnecessary value ↵Adam Frisby1-2558/+2526
initialisers, etc.
2008-11-01Megapatch that fixes/adds: friend offer/deny/accept, friendship termination,Homer Horwitz1-1/+22
on-/offline updates, calling cards for friends. This adds methods in the DB layer and changes the MessagingServer, so a full update (incl. UGAIM) is necessary to get it working. Older regions shouldn't break, nor should older UGAIM break newer regions, but friends/presence will only work with all concerned parts (UGAIM, source region and destination region) at this revision (or later). I added the DB code for MSSQL, too, but couldn't test that. BEWARE: May contain bugs.
2008-11-01* Fix http://opensimulator.org/mantis/view.php?id=2517Justin Clarke Casey2-12/+7
* Don't save attachments on saving oar, which stops them coming back as ghost prims
2008-10-31* In the client stack, if the BeginReceive() throws an exception then do ↵Justin Clarke Casey1-54/+49
print this out to the log once * This may help us detect if mysterious UDP disconnects are happening because of this. * Shouldn't be any functional change but I would appreciate a buddy check from Teravus if he has time (as for all client stack changes)
2008-10-30test: Extend malformed packet test to actually check that a valid packet can ↵Justin Clarke Casey5-15/+136
get through after the malformed ones have been sent
2008-10-30* test: Test that the client stack doesn't completely blow up if a client ↵Justin Clarke Casey2-10/+43
passes it malformed data
2008-10-30* Slightly tweak to teardown test, try a circuit which never existed in the ↵Justin Clarke Casey1-3/+3
first place
2008-10-30* minor: spacing adjustment before next commitJustin Clarke Casey1-2/+1
2008-10-30* test: fill out circuit teardown testJustin Clarke Casey1-1/+10
2008-10-30* test: Refactor test infrastructure for future client teardown testJustin Clarke Casey1-9/+69
2008-10-29* Check in (disabled) results of not persisting avatar textures but rather ↵Justin Clarke Casey1-0/+10
sending ImageNotFound to clients if avatar textures are missing * Whilst this does automatically get the client to rebake, on crossing a region border the 'local' assets are left behind * There may be a cunning solution (such as squirting the assets on region crossing, or having them fetched from the original region) but instead I'm going to opt for the easy solution of keeping them in the asset database, for now
2008-10-29Remove a debug outputMelanie Thielker1-1/+0
2008-10-29Plumbing along....Melanie Thielker1-0/+39
2008-10-28* Possibly fix grey avatar appearance problemsJustin Clarke Casey1-1/+6
* And hopefully rebaking all the time should no longer be necessary now * It turns out that when the client baked the texture, the uploaded asset had the Temporary flag to true (Temporary is actually deprecated). * It also had the StoreLocal flag set to true, which signifies that the asset should be stored locally. If it disappears we should reply to the asset request with ImageNotInDatabasePacket * However, last time this was enabled some clients started crashing. This may well no longer be the case and needs to be tested, but in the mean time we will store the asset instead. * This needs to be resolved in a better way, possibly by starting to send the ImageNotInDatabase packet again instead
2008-10-28* minor: Add documentation to some of the appearance methods, change some ↵Justin Clarke Casey1-11/+4
logging messages
2008-10-27Update svn properties, minor formatting cleanup.Jeff Ames1-12/+12
2008-10-26Committing a small fix for EventData along with more plumbing workMelanie Thielker1-2/+2
2008-10-25A few more bots to yesterday's plumbing: change instant message methodMelanie Thielker1-3/+4
signature
2008-10-25More plumbing and some wiresMelanie Thielker1-0/+52
2008-10-24Fix a leak in the plumbingMelanie Thielker1-3/+3
2008-10-24Plumb some moreMelanie Thielker1-22/+148
2008-10-24* minor: eliminate some mono compiler warningsJustin Clarke Casey2-3/+3
2008-10-24* Stop passing in unnecessary pameters to CreateNewCircuitJustin Clarke Casey1-12/+9
2008-10-24* Stop creating a circuit if the client fails authentication (i.e. the ↵Justin Clarke Casey4-69/+109
region server wasn't told that it was coming) * This moves authentication from the client thread (where failure was difficult to detect) to the particular thread handling that packet * I've kept the authentication outside of the crucial clientCircuits lock (though any delay here is probably swamped by the other delays associated with login) * Also added more to the unit test to ensure this doesn't regress
2008-10-24* Change AddClient test such that we now successfully authenticateJustin Clarke Casey2-5/+18
* The fact that the assert passed even when authentication failed reveals a bug in the code that will be corrected soonish
2008-10-24* minor: refactor out AddUser test setup to common methodJustin Clarke Casey1-4/+8
2008-10-24Remove a debug output dumpMelanie Thielker1-1/+0
2008-10-24Lotsa plumming :)Melanie Thielker1-0/+255
2008-10-23* minor: Remove unused public PacketServer variable.Justin Clarke Casey1-8/+2
* If this was important to you please reinsert and we can put it in a recognized interface.
2008-10-23* Reenable assert for the add circuit testJustin Clarke Casey2-3/+10
* This checks that a client circuit is established when the udp server is given a use client circuit code packet * And checks that other circuit codes do not exist
2008-10-23* Revert to executing existing setup if an added circuit did not already existJustin Clarke Casey1-3/+3
* Not sure why things still worked in the presence of this bug - possibly the problem is compensated for later on. If you are having udp session problems this bug fix may help (though no guarantees).
2008-10-23* Add missing file from last commit. Yay for continuous integration!Justin Clarke Casey1-0/+52
2008-10-23* Introduce a basic udp circuit test for adding a clientJustin Clarke Casey2-8/+91
* Temporarily disabled assert because it just picked up an existing bug. Yay for tests!
2008-10-23* Refactor LLUDPServer slightly so that unit tests can pass in data ↵Justin Clarke Casey3-34/+105
synchronously. Shouldn't be any functional change
2008-10-21Pare the groups module down to basics. Adjust dependent files so that aMelanie Thielker1-4/+4
real groups module can even be implemented.
2008-10-19* minor: remove mono warningsJustin Clarke Casey1-1/+1
2008-10-19* Fixed UDP server (again)Teravus Ovares1-3/+14
* Guys, there's an endless loop there *ON PURPOSE*. Please don't try to *fix* it. We must continue to process the UDP stream buffer on clients that disconnected nastily until it ends or the UDP server accept thread will die a horrible death.
2008-10-19Added calling cards. Fixes Mantis#2409 and part of #1515.Homer Horwitz1-0/+68
2008-10-19* Null check before UseCircuitCode Check or the server crashes on packet loss!Teravus Ovares1-1/+1
2008-10-18Megapatch. :) Fix skull attachment editing. Streamline Object terse updates.Melanie Thielker1-21/+25
Add rezzing time to objects. Add Object return and traffic fields to land database. Add plumbing for auto return. Implement auto return. Contains a migration. May contain nuts.
2008-10-17* Remove mono warningsJustin Clarke Casey1-1/+1
2008-10-17* Finally, don't worry about doing containment checks on other dictionaries ↵Justin Clarke Casey1-4/+2
if we are adding a client * Regarding an earlier change, I think it would be possible to eliminate the creation of new IPEndPoints on every end receive if we did the client circuit lookup before starting the next receive. However, this would be a performance trade off and hence not worth trying without performance testing