aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-05-19adding OSHttpRequest and OSHttpResponse which wrap HttpListenerRequest and ↵Dr Scofield8-18/+335
HttpListenerResponse respectively. enhancing IStreamHandler and IStreamedHandler interfaces so that OSHttp{Request,Response} get passed in, allowing RestHandlers to set response status code, redirections, etc.
2008-05-16Formatting cleanup.Jeff Ames5-42/+42
2008-05-14* Refactor additional stats collection common code into base opensim serverJustin Clarke Casey1-1/+18
* If extra stats not sent to the viewer are available on an opensim server, they are now uniformly accessible using the 'show stats' command
2008-05-14From: Dr Scofield <DrScofield@xyzzyxyzzy.net>Sean Dague1-0/+5
the attached patch set adds the (still work-in-progress but already working) RestPlugin base class and the RestRegionPlugin code. we are using XML serialization. currently working: GET /admin/regions/ -> returns UUID list of known regions GET /admin/regions/<UUID> -> returns detailed region information we'll be adding support for POST/DELETE/PUT and also for /admin/regions/<UUID>/name etc.
2008-05-14More formatting cleanup.Jeff Ames1-2/+8
2008-05-14Formatting cleanup.Jeff Ames2-4/+4
2008-05-13* As part of the region registration process, the grid service now requests ↵Justin Clarke Casey1-1/+4
the status of the region using the region http uri just passed in * If the status cannot be retrieved, then the region startup will terminate. * The aim of this is for earlier detection of situations where the region can send messages out but cannot accept incoming requests (often due to firewall issues) * This is currently an extremely simplistic check which completely trusts whatever http uri is given by the region * This contact may be problematic, though since the user service needs to be able to contact the region http uri, it doesn't seem unreasonable for the grid to have to be able to do so too at this stage * This change will require a prebuild
2008-05-12From: Alan M Webb <awebb@vnet.ibm.com>Justin Clarke Casey1-6/+23
This patch just tightens up console handling in BasOpenSimServer and removes (or redirects) a couple of messages that were being issued using Console.Writeline.
2008-05-09* Fix opensim region server shutdown.Justin Clarke Casey1-1/+1
2008-05-07* Move shutdown processing to base OpenSimServer, overriding the method ↵Justin Clarke Casey1-1/+17
where appropriate * This also means that the command quit (as well as shutdown) will now close down grid servers (instead of only being in place for the region server)
2008-05-02* More refactorings of UDPServer.Adam Frisby1-100/+0
* Removed all references where possible. * Renamed lots of variables from UDPServerXYZ to clientServerXYZ
2008-05-01* Thanks to Mic Bowman for inspiring me to look at that we are still using ↵Adam Frisby1-1/+1
ASCIIEncoder in places we shouldn't.
2008-05-01* Breaking all the code, breaking all the code..!Adam Frisby2-5/+5
* Made a bunch more members static, removed some dead code, general cleaning.
2008-04-22* Allow folder renaming to complete after an agent inventory has been ↵Justin Clarke Casey1-1/+1
received by a region from the inventory service * This replaces the old behaviour of failing straight away, which could cause lost updates if the inventory service was slow in responding * This is the first baby step to making all inventory requests behave this way, to reduce inventory lossage
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby3-9/+8
(this took a while to run).
2008-04-19* Start catching rogue SocketExceptions which occur (at least on mono) when ↵Justin Clarke Casey1-0/+10
a response stream for a request which actually required no response, is closed
2008-04-16Thank you very much, Kmeisthax for:Charles Krinke1-2/+13
This patch makes the "Show in Search" checkbox on the viewer work. Additionally, I also discovered that show-in-search objects use the JointWheel flag, so this patch currently uses that flag. LibSL needs to add a flag to enum LLObject.ObjectFlags, "IncludeSearch = 32768" so we aren't using a legacy flag. Additionally this patch also contains a small fix to BaseHTTPServer that lets the response content-type to be something other than text/html. For some reason this didn't get submitted with the DataSnapshot merge.
2008-04-15* Fixes an issue with the BaseHttpServer in LinuxTeravus Ovares1-1/+8
* Fixes an estate naming issue * Fixes a land issue with the landobject not reporting the proper parcel prim. * A few other tweaks.
2008-04-11* Reduce publicly exposed fields on InventoryCollection, which was causing ↵Justin Clarke Casey1-1/+10
duplicate sets of inventory data to be sent over the grid * Won't actually fix anything, since we were handling the problem anyway * Also add more doc, fix up debugging messages, etc
2008-03-31* Log exceptions which make it up to the top of the http request frame, ↵Justin Clarke Casey1-55/+67
rather than having them disappear off into the ether
2008-03-28* Refactored out common http handler operationslbsa711-0/+6
2008-03-27* Correct asset type of Lost and Found folder - this might stop it appearing ↵Justin Clarke Casey2-0/+6
twice * Other minor corrections to initial inventory contents * These will only take affect for new users
2008-03-20* First draft resolution of mantis 777, 734, 389 - scripts do not save in ↵Justin Clarke Casey1-3/+16
non-home regions * Should work in multi-region standalone and grid modes * This should also solve other non-home region caps issues (map requests, RC client inventory requests, etc) * We now pass CAPS information on to the destination region on region crossing, and set up a CAPS object when an agent becomes a master * Current limitation is that this will only work if your http_listener_port is 9000 * This is a very early code cut (lots of bad practice, hard coding and inefficiency). However, I wanted to get this out there for feedback and my own sanity. Next few patches will clean up the mess.
2008-03-18* Stop grid inventory network failures crashing the client sessionJustin Clarke Casey1-0/+10
* Now the operation will just fail and post a message to the log instead, which may be mysterious to the client but isn't so brutal
2008-03-18Formatting cleanup.Jeff Ames17-456/+446
2008-02-29More compiler warning cleanup.Jeff Ames1-13/+7
Removed verbose flag, since it doesn't do anything any more.
2008-02-25* Caught HttpListenerException and swallowed if with outputlbsa711-2/+10
* Moved Flush into Close since it's always done in that order. * Minor renamings * Reversed if for clarity
2008-02-21"threads" command now works. I've added manual tracking of threads (only if ↵Tedd Hansen1-0/+1
compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging.
2008-02-20Minor cleanup.Jeff Ames4-4/+4
2008-02-20* Caught 'OPTIONS' verb in BaseHttpServer that would otherwise explode.lbsa711-1/+17
(There are actually other non-content requests too, but I didn't know what we wanted to do with them)
2008-02-19Playing "Name that thread". Adding names and isbackground=true to all ↵Tedd Hansen1-0/+1
threads so it will be easier to debug.
2008-02-18* Output XmlRpc error message if user server gets a fault response from the ↵Justin Clarke Casey1-6/+9
region server on login * This will make it more obvious if one accidentally starts one's region server in standalone rather than grid mode but then tries to login to a grid (as I am wont to do) * We are now sending back a fault code (-32601) if no xmlrpc method is found rather than an ordinary message
2008-02-18More exception checks and crash hintsTedd Hansen1-0/+1
If no scriptengine is specified then don't try to load any.
2008-02-05Converted logging to use log4net.Jeff Ames3-23/+23
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-04* Rebase all current servers on common abstract BaseOpenSimServer classJustin Clarke Casey1-2/+45
* The immediate upshot is that "show uptime" from the console will now show uptime on all server types (user, asset, grid, etc) * DEV: This refactoring is far from complete - only just enough to makes the "show uptime" command common accross the servers. More is needed, but in this case it's somewhat like eating cabbage, which I prefer not to do all at once
2008-01-25* Add missed out evn:eol-style nativeJustin Clarke Casey1-43/+43
* I intended to think about refactoring the servers to use this common base class, but temporary laziness won out. * I'm leaving this here as a reminder/mind poke and for reasons of laziness (again) * If people object to me leaving this kind of thing lying around, please say
2008-01-25* Add very basic initial login stats to the user serverJustin Clarke Casey1-0/+43
* Typing 'stats' on the command line will given total number of successful logins today and yesterday * A little bit more to come, probably * Refactoring will follow next
2008-01-15* Mother of all commits:Adam Frisby1-1/+1
* Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2008-01-10* After fighting with it a bit more, Opensim is now compatible with the most ↵Teravus Ovares1-13/+26
recent release client(RC) on the linden labs download page. * Don't forget, you need -loginuri *and* -loginpage * Ex: -loginpage http://10.1.1.2:8002/?method=login -loginuri http://10.1.1.2:8002/ * The ?method=login is important, don't forget to add it * If you customize your http_loginform.html file, be sure to keep the form post address as is.
2008-01-09* This update enables the web_login method.Teravus Ovares1-5/+2
* Remember, the client doesn't support web_login to other grids in the current RC, however the next RC will.
2008-01-09* Added a hashtable based HTTP processor in preparation of the web_login_keyTeravus Ovares3-124/+255
* Added the web_login_key to the users table * Added happy configurable http error message pages * This update is large enough to have 'awe' value.. so backup your users or weep. * Not tested on MSSQL, even though I added code to update the tables!
2008-01-07* Enabling the LLSD Login method by jhurliman so libSecondLife clients work ↵Teravus Ovares1-3/+3
on OpenSim again.
2008-01-07* Adding More to the MessageServer classes.Teravus Ovares1-0/+27
* Don't forget to prebuild
2008-01-06* A few more Message Server comms related updatesTeravus Ovares1-0/+4
2008-01-06* Added some userserver glue for communications with the message server Teravus Ovares1-0/+17
* Added some code for the message server, fixed a few references and starting to flesh it out.
2008-01-05* Applying jhurliman's LLSD login enablement patch.Teravus Ovares2-3/+105
* I'm keeping it deactivated until some issues are resolved. * I'm patching it in deactivated so the patch doesn't get outdated * I've deactivated it by commenting out the handler for the application/xml+llsd content type. * While I've tested this as much as possible on my setup and found the deactivated code doesn't cause any problems, consider this update experimental (event though it's deactivated)
2008-01-02* Updates UserServer Teravus Ovares1-1/+1
* Updates OSG1UserServices * Friends list is now persistent in grid mode. * You can add, new friends and remove them
2007-12-27* Optimized usingslbsa717-48/+60
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-24* Added some ugly hackish code to the user server to start implementing the ↵Teravus Ovares1-0/+134
new login method. You still can't yet log-in via the new method. Does not interfere with normal userserver operation, ie safe to update if you want.
2007-12-11added copyright noticesJeff Ames5-3/+143