aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* dr scofield's warning safari: hunting down those little buggersDr Scofield2008-06-273-5/+6
|
* status: work-in-progress, non-functionalDr Scofield2008-06-273-0/+165
| | | | | | fleshing out OSHttpRequestPump code.
* status: work in progress, non-functionalDr Scofield2008-06-272-41/+127
| | | | | | | having OSHttpHandler as a delegate was not too hot, i'm refactoring it into an interface.
* Mantis#1591. Thank you graciously, Sempuki for a patch that:Charles Krinke2008-06-271-1/+1
| | | | | | | | | | Currently module loading is done ad-hoc. I propose creating a simple loader class that leverages Mono.Addins (and perhaps the new .NET addins when they become available in mono). Attached is a basic patch for review that compiles into HEAD, but doesn't yet replace any existing ad-hoc loaders.
* WORK-IN-PRGRESS: beware of falling pieces and shifting Dr Scofield2008-06-261-0/+53
| | | | | | | tectonic plates: starting AddHandler() code.
* further work on the HttpServer stuff. not functional yet. just sharing Dr Scofield2008-06-254-11/+126
| | | | | | what crimes i'm committing.
* Minor formatting cleanup.Jeff Ames2008-06-181-1/+1
|
* * Enables binary data in BaseHttpServer with 'image' in content type.Teravus Ovares2008-06-161-1/+10
| | | | | | | | | * Enables regular jpeg map images to be served directly from the region. * EX: http://192.168.1.127:9000/index.php?method=regionImagecc4583cd269b41bfa525dd198e19a5c5 * This is actually HTTP server address + port + index.php?method=regionImage<REGIONUUID, no dashes> * The Webmap image location gets printed on the console when the simulator starts up. * JPEG data is cached so we only create the webjpeg once.
* Change VersionInfo string fromCharles Krinke2008-06-151-1/+1
| | | | | | | "Opensimulator release (0.5.8)" to "Opensimulator trunk (post 0.5.8)" as we move forward with trunk again.
* Change VersionInfo string from:Charles Krinke2008-06-141-1/+1
| | | | | | | | "OpenSimulator trunk (post 0.5.7)" to "OpenSimulator release 0.5.8" in preparation for tagging this minor release.
* * minor: Print out uptime as well as stats in periodic diagnostics logging, ↵Justin Clarke Casey2008-06-132-6/+30
| | | | so it's easier to tell which isntances each print out of information is from
* Update svn properties, clean up formatting, refactor out duplicate ↵Jeff Ames2008-06-131-11/+11
| | | | hard-coded port numbers.
* * Drop periodic stats logging back down to 60 minutes to reduce console spam. Justin Clarke Casey2008-06-111-1/+1
| | | | | | | * Please feel free to comment if the periodic logging is causing you problems in some way - I'm loathe to add yet another switch to OpenSim.ini but will if it proves necessary
* * Add 'show info' command to all servers, which prints the directory in ↵Justin Clarke Casey2008-06-111-2/+16
| | | | | | | | which the server was started * This is potentially useful if you're using screen on a region console without knowing where it was originally started from
* * minor: Reduce statistic log snapshots to every 20 minutes to get more ↵Justin Clarke Casey2008-06-101-1/+1
| | | | information
* * If a server has statistics, print these out to the log every hour to get ↵Justin Clarke Casey2008-06-101-0/+21
| | | | | | | | some idea of how these evolve * When returning GC.GetTotalMemory(), force collection first in order to get more accurate figures
* * adding XmppPresenceStanza and deserialization/reification supportDr Scofield2008-06-041-0/+5
| | | | | | | | | | | | having reached the intermediate level of .NET's XmlSudoku, i've now figured out how to do deserialization using different XmlSerializers (this stuff begins to grow on me, sigh). [still not used code, work-in-progress] * adding convenience property on OSHttpRequest.cs (from awebb)
* Formatting cleanup, minor refactoring, svn properties.Jeff Ames2008-06-041-15/+15
|
* * experimental: Make OpenSim archiver save and reload all prim textures when ↵Justin Clarke Casey2008-06-021-2/+2
| | | | not all faces have the same texture
* * Add 'show version' help information into base OpenSim serverJustin Clarke Casey2008-06-021-1/+2
|
* * Move most bookending startup/shutdown messages to BaseOpenSimServer so ↵Justin Clarke Casey2008-06-011-7/+6
| | | | they appear in non-console servers too
* * Fix build break by eliminating remaining IScenePermissions references - ↵Justin Clarke Casey2008-06-011-1/+1
| | | | | | | | must remember to nant clean * Hook all server startups into base opensim server startup method
* * Move log version printing up into BaseOpenSimServerJustin Clarke Casey2008-06-011-4/+14
|
* * Make version information common to all serversJustin Clarke Casey2008-05-312-0/+119
| | | | | | * Now all servers respond to the "show version" command on the console
* * Implements UserServer logoff in a few situationsTeravus Ovares2008-05-311-0/+1
| | | | | | | * User tries to log-in but is already logged in. Userserver will send message to simulator user was in to log the user out there. * From the UserServer, admin types 'logoff-user firstname lastname message'. * Some regions may not get the message because they're not updated yet.
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-303-12/+17
|
* this is a snapshot of the OSHttpServer work-in-progress. it's an initial ↵Dr Scofield2008-05-293-0/+191
| | | | | | | | skeleton, far from complete, just want to check in early and often.
* attempting to get to the bottom of unresponsive grids servers bySean Dague2008-05-291-21/+32
| | | | | | adding back in a few messages on exceptions.
* Formatting cleanup.Jeff Ames2008-05-281-9/+13
|
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-257-37/+37
|
* changing more 'raw' HTTP status codes to OSHttpStatusCodes.Dr Scofield2008-05-221-0/+2
|
* here are further enhancements to the IHttpAgentHandler and to BaseHttpServer ↵Dr Scofield2008-05-223-21/+220
| | | | | | | | | | | | | (from awebb) i've added the OSHttpStatusCodes enumeration of HTTP status codes, have adapted BaseHttpServer to use those. then RestPlugin now has proper Failure handling returning proper HTTP status codes. Regions/POSTHandler is work-in-progress.
* i'm extending the RestStreamHandler.Handler(...) signature to actually Dr Scofield2008-05-202-2/+3
| | | | | | | | | | | provide OSHttpRequest and OSHttpResponse to our REST handler. also, this adds proper RestPlugin.IsGod() checking against the X-OpenSim-Godkey HTTP request header. last, i added XML doc comments to RestPlugin.cs
* my last "simplification" of the the if-then-else logic in BaseHttpServer ↵Dr Scofield2008-05-201-1/+1
| | | | | | | | | placed the return in the "if (request.UserAgent != null)" branch in the wrong place: as a result BaseHttpServer would not do anything if the user agent header field was present....ARGH! BAAAAAAD.
* (from awebb)Dr Scofield2008-05-191-1/+10
| | | | | | | | | | | Fixes a bug in BaseRequestHandler. If the length of the patter is equal to, or greater than, the length of the actual request path, then an exception is thrown. System using is added to support use of String.Empty. Exception is used to ensure most efficient operation on (assumed to be most common) successful case.
* (from awebb)Dr Scofield2008-05-192-26/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds an additional handler to the existing BaseHttpServer. It does not affect any of the existing behaviors except insofar as the new handler may be selected. It is selected first because its Agent-oriented nature means that it should not be pre-empted. The new handler type is defined by IHttpAgentHandler in Framework/Servers and has two interface methods: Match and Handle. The Match function returns a boolean result based upon examination of information presented in the User-Agent header. The Handle function expects to get the request and response instances associated with the flow. The handler is responsible for ALL activity associated with the request except in the event of an unhandled exception, in which case the HandleAgentRequest routine will generate a 500 status message and close the stream. There are two immediateley apparent (and VERY easy to implement) improvements that could be made: 1. The Match call could be allowed to operate over the entire request context., rather than just agent identity. 2. The Handler could return a boolean indication of whether or not the request was actually handled, and if not, the remaining handler mechanism could take a shot at it. This would eliminate issues arising from pre-empted streams.
* adding OSHttpRequest and OSHttpResponse which wrap HttpListenerRequest and ↵Dr Scofield2008-05-198-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.
* Formatting cleanup.Jeff Ames2008-05-165-42/+42
|
* * Refactor additional stats collection common code into base opensim serverJustin Clarke Casey2008-05-141-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
* From: Dr Scofield <DrScofield@xyzzyxyzzy.net>Sean Dague2008-05-141-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.
* More formatting cleanup.Jeff Ames2008-05-141-2/+8
|
* Formatting cleanup.Jeff Ames2008-05-142-4/+4
|
* * As part of the region registration process, the grid service now requests ↵Justin Clarke Casey2008-05-131-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
* From: Alan M Webb <awebb@vnet.ibm.com>Justin Clarke Casey2008-05-121-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.
* * Fix opensim region server shutdown.Justin Clarke Casey2008-05-091-1/+1
|
* * Move shutdown processing to base OpenSimServer, overriding the method ↵Justin Clarke Casey2008-05-071-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)
* * More refactorings of UDPServer.Adam Frisby2008-05-021-100/+0
| | | | | | * Removed all references where possible. * Renamed lots of variables from UDPServerXYZ to clientServerXYZ
* * Thanks to Mic Bowman for inspiring me to look at that we are still using ↵Adam Frisby2008-05-011-1/+1
| | | | ASCIIEncoder in places we shouldn't.
* * Breaking all the code, breaking all the code..!Adam Frisby2008-05-012-5/+5
| | | | | * Made a bunch more members static, removed some dead code, general cleaning.
* * Allow folder renaming to complete after an agent inventory has been ↵Justin Clarke Casey2008-04-221-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