aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/BaseHttpServer.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * This is the very very early beginnings of an EventQueue:get module.Teravus Ovares2008-09-271-5/+56
| | | | | | | * This won't function yet as far as the client can tell.. because it doesn't respond to the first query with a 200 message. * We have to figure out how to encode those binary values in the example code in the module... * Committing this so we have a start point. Will continue to work on this more today.
* * Remove a message handler Teravus Ovares2008-09-251-0/+2
| | | | | | * Add a more specific error handler for when we're unable to pull the OGP state * rez_avatar/derez ?
* * OGP GET, look for Accept header application/llsd+xml with an optional ?q=Teravus Ovares2008-09-231-1/+1
|
* * Fix a null reference exception that I introducedTeravus Ovares2008-09-231-1/+1
|
* * Get Requests for OGP don't have a Content-type: application/llsd+xml, they ↵Teravus Ovares2008-09-231-0/+12
| | | | have an Accept: application/llsd+xml.
* * Update in OGP draft 3 protocol spec with regards to seed region requests ↵Teravus Ovares2008-09-231-2/+7
| | | | running over GET instead of POST and the rez_avatar/request cap being wrapped in the capabilities map.
* * Implements an experimental method to define which region you want to go to ↵Teravus Ovares2008-09-191-2/+5
| | | | in your 'region domain' in OGP.
* * Tweaked handler code to recognize LibOMV's LLSD Login by post content.Teravus Ovares2008-09-191-1/+3
| | | | | * OK for public consumption.
* * Switches content type from application/xml+llsd to application/llsd+xml on ↵Teravus Ovares2008-09-191-1/+1
| | | | | | | | outgoing requests. * Monitors / for getting the seed cap for rez_avatar/request on application/llsd+xml && application/xml+llsd && !application/xml * Experimental, this might break LibOMV temporarily.
* * minor: eat up some yummy warningsJustin Clarke Casey2008-09-151-3/+3
|
* * Made Seed CAP response respect the SSL setting.Teravus Ovares2008-09-141-0/+15
|
* * This update makes configuring SSL a little easier on Windows XP. It also ↵Teravus Ovares2008-09-141-2/+127
| | | | | | | | | makes it possible to run a HTTPS server on the region. It also has a junk Certification authority for test purposes. * There are still a lot of things that are hard coded to use http. They need to be fixed. * Also includes directions * A standard junk PEM file to append to app_settings/CA.pem in the client so SSL will work
* * Converted a number of methods within the login processes from private to ↵Adam Frisby2008-09-141-8/+2
| | | | | | | | protected. * Made several methods virtual to allow derivative overrides. * Minor cleanups.
* Mantis #2133Melanie Thielker2008-09-061-1/+1
| | | | | | | Thank you, Xugu Madison and ChrisDown, for a patch that fixes linux filename extensions from .Xml back to .xml
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-2/+2
| | | | | | | * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
* Update svn properties, formatting cleanup.Jeff Ames2008-08-281-12/+12
|
* * One more tweak to the application/xml vs application/llsd+xml routineTeravus Ovares2008-08-261-4/+3
|
* * It turns out that Mono doesn't currently support setting the Certificate ↵Teravus Ovares2008-08-261-1/+6
| | | | | | | validation handler, however, it throws a NotImplemented exception. * Added Try/Catch/Message
* * Workaround for application/llsd+xml requests coming in as application/xmlTeravus Ovares2008-08-261-0/+48
| | | | | * When OGP is active, disable SSL certificate chain validation. I'll add more options here to come, as well as a way to test against a group of known certificate subjects.
* * This commit incorporates the heart of the OpenGridProtocol patch that is ↵Teravus Ovares2008-08-251-23/+145
| | | | | | | | currently on Forge in a nice, friendly modular format. * There are a lot of changes and this is quite experimental. It's off by default, but you can turn it on by examining the bottom of the opensim.ini.example for the proper OpenSim.ini settings. Remember, you still need an agent domain.. * Furthermore, it isn't quite right when it comes to teleporting to remote regions (place_avatar)
* Mantis#2032. Thank you kindly, Tyre for a patch that:Charles Krinke2008-08-231-0/+1
| | | | | | | This small patch provides the required changes to populate the columns agentIP and agentPort in table "agents" Tested with mysql (but should work for all supported db engines)
* Formatting cleanup.Jeff Ames2008-08-181-2/+2
|
* From: Richard Alimi <ralimi@us.ibm.com>Dr Scofield2008-08-151-1/+2
| | | | | | | | The following is a patch that disables the addition of the Content-Length HTTP response header when a chunked response is being sent.
* * Drop cached inventory from the local region when a user crosses out into a ↵Justin Clarke Casey2008-08-011-1/+1
| | | | | | | | | | remote region * May resolves inventory problems that occur when the user moves between two regions` * e.g. if the user moves to a second region, adds an inventory item, moves back to the original region then tries to manipulate that item * Not yet implemented for teleport
* moving GridInfo application plugin into a common standalone/gridDr Scofield2008-07-281-2/+2
| | | | | | | | service, adding a plain REST GET handler returning XML (no LLSD), adding appropriate add handler calls to OpenSimBase and UserServer.
* From: awebbDr Scofield2008-07-251-11/+16
| | | | | | Further improvements to the REST handlers.
* force Culture to en-US in BaseHttpserver.HandleRequest() --- thisDr Scofield2008-07-181-0/+3
| | | | | | | fixes mantis #1748 and #1771.
* further work in progress on the HttpServer side: XmlRpc handler pathDr Scofield2008-07-141-1/+1
| | | | | | | | almost complete and soon to be ready for testing; OSHttpResponse code out.
* * 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.
* * minor: Print out uptime as well as stats in periodic diagnostics logging, ↵Justin Clarke Casey2008-06-131-1/+3
| | | | so it's easier to tell which isntances each print out of information is from
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-301-5/+10
|
* 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-251-10/+10
|
* here are further enhancements to the IHttpAgentHandler and to BaseHttpServer ↵Dr Scofield2008-05-221-19/+50
| | | | | | | | | | | | | (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.
* 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-26/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-191-12/+12
| | | | | | | | | 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-161-21/+21
|
* More formatting cleanup.Jeff Ames2008-05-141-2/+8
|
* Formatting cleanup.Jeff Ames2008-05-141-1/+1
|
* * 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
* * 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-011-4/+4
| | | | | * Made a bunch more members static, removed some dead code, general cleaning.
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-211-6/+8
| | | | (this took a while to run).
* * Start catching rogue SocketExceptions which occur (at least on mono) when ↵Justin Clarke Casey2008-04-191-0/+10
| | | | a response stream for a request which actually required no response, is closed
* Thank you very much, Kmeisthax for:Charles Krinke2008-04-161-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.
* * Fixes an issue with the BaseHttpServer in LinuxTeravus Ovares2008-04-151-1/+8
| | | | | | | | * Fixes an estate naming issue * Fixes a land issue with the landobject not reporting the proper parcel prim. * A few other tweaks.
* * Log exceptions which make it up to the top of the http request frame, ↵Justin Clarke Casey2008-03-311-55/+67
| | | | rather than having them disappear off into the ether
* * First draft resolution of mantis 777, 734, 389 - scripts do not save in ↵Justin Clarke Casey2008-03-201-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.