aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/BaseHttpServer.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-10-14* Remove a warning from BaseHttpServerTeravus Ovares1-1/+1
2008-10-10* Just some OGP maintenance. Standards adherence type stuff. Teravus Ovares1-1/+34
2008-10-06cleaning up OSHttpResponse: note that read access to extra headerDr Scofield1-4/+5
fields is GONE (HttpServer does not support that), you can read the "normal" HTTP headers available via properties, and you can add headers. also, it is now possible to set a timeout for KeepAlive (for those clients that pay attention to it). this also fixes the broken REST inventory/assets/appearance services, they should be working again. testcase for OSHttpResponse will follow.
2008-10-06cleaning up OSHttpRequest removing old Http stuff. also adding testDr Scofield1-184/+2
case for OSHttpRequest (not very fancy yet, but still).
2008-10-03* Committing a few keep-alive changes. Cleaned up some log messagesTeravus Ovares1-6/+21
2008-10-03* minor: remove warnings (the code cleaners strike again)Justin Clarke Casey1-4/+4
2008-10-03* EventQueueGet is now working.Teravus Ovares1-10/+174
* Switched it on by default * Updated OpenSim.ini.example to reflect this * Caught a UDP Server issue that occurs when the network pipe is saturated * Still experimental :D
2008-10-01* Fixed a mangled Seed caps handler definition on login to region in ↵Teravus Ovares1-3/+3
standalone where port wasn't the http port. * Removed spurious warning message * More debug in EventQueueGet Module to figure out why we're loosing the handlers.
2008-09-30* Replacing Net.HttpListener with HttpServer. Teravus Ovares1-38/+234
* This is a HUGE update.. and should be considered fraut with peril. * SSL Mode isn't available *yet* but I'll work on that next. * DrScofld is still working on a radical new thread pump scheme for this which will be implemented soon. * This could break the Build! This could break your Grid!
2008-09-30* Get the code up to speed with my -#dev e-mail example. (uncomment out ↵Teravus Ovares1-4/+17
lines 227 - 235 to test.
2008-09-29* minor: remove warningsJustin Clarke Casey1-6/+7
2008-09-27* Event queue is now polling.. Teravus Ovares1-2/+4
* returns FAKEEVENT instead of the connection returning a 502. It doesn't like our 502's for some reason.. so, in leau of this.. send it a fake event. * Once again, this is still 'really early' code, so please don't blame us if you have no more threads left.
2008-09-27* This is the very very early beginnings of an EventQueue:get module.Teravus Ovares1-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.
2008-09-25* Remove a message handler Teravus Ovares1-0/+2
* Add a more specific error handler for when we're unable to pull the OGP state * rez_avatar/derez ?
2008-09-23* OGP GET, look for Accept header application/llsd+xml with an optional ?q=Teravus Ovares1-1/+1
2008-09-23* Fix a null reference exception that I introducedTeravus Ovares1-1/+1
2008-09-23* Get Requests for OGP don't have a Content-type: application/llsd+xml, they ↵Teravus Ovares1-0/+12
have an Accept: application/llsd+xml.
2008-09-23* Update in OGP draft 3 protocol spec with regards to seed region requests ↵Teravus Ovares1-2/+7
running over GET instead of POST and the rez_avatar/request cap being wrapped in the capabilities map.
2008-09-19* Implements an experimental method to define which region you want to go to ↵Teravus Ovares1-2/+5
in your 'region domain' in OGP.
2008-09-19* Tweaked handler code to recognize LibOMV's LLSD Login by post content.Teravus Ovares1-1/+3
* OK for public consumption.
2008-09-19* Switches content type from application/xml+llsd to application/llsd+xml on ↵Teravus Ovares1-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.
2008-09-15* minor: eat up some yummy warningsJustin Clarke Casey1-3/+3
2008-09-14* Made Seed CAP response respect the SSL setting.Teravus Ovares1-0/+15
2008-09-14* This update makes configuring SSL a little easier on Windows XP. It also ↵Teravus Ovares1-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
2008-09-14* Converted a number of methods within the login processes from private to ↵Adam Frisby1-8/+2
protected. * Made several methods virtual to allow derivative overrides. * Minor cleanups.
2008-09-06Mantis #2133Melanie Thielker1-1/+1
Thank you, Xugu Madison and ChrisDown, for a patch that fixes linux filename extensions from .Xml back to .xml
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-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.
2008-08-28Update svn properties, formatting cleanup.Jeff Ames1-12/+12
2008-08-26* One more tweak to the application/xml vs application/llsd+xml routineTeravus Ovares1-4/+3
2008-08-26* It turns out that Mono doesn't currently support setting the Certificate ↵Teravus Ovares1-1/+6
validation handler, however, it throws a NotImplemented exception. * Added Try/Catch/Message
2008-08-26* Workaround for application/llsd+xml requests coming in as application/xmlTeravus Ovares1-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.
2008-08-25* This commit incorporates the heart of the OpenGridProtocol patch that is ↵Teravus Ovares1-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)
2008-08-23Mantis#2032. Thank you kindly, Tyre for a patch that:Charles Krinke1-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)
2008-08-18Formatting cleanup.Jeff Ames1-2/+2
2008-08-15From: Richard Alimi <ralimi@us.ibm.com>Dr Scofield1-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.
2008-08-01* Drop cached inventory from the local region when a user crosses out into a ↵Justin Clarke Casey1-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
2008-07-28moving GridInfo application plugin into a common standalone/gridDr Scofield1-2/+2
service, adding a plain REST GET handler returning XML (no LLSD), adding appropriate add handler calls to OpenSimBase and UserServer.
2008-07-25From: awebbDr Scofield1-11/+16
Further improvements to the REST handlers.
2008-07-18force Culture to en-US in BaseHttpserver.HandleRequest() --- thisDr Scofield1-0/+3
fixes mantis #1748 and #1771.
2008-07-14further work in progress on the HttpServer side: XmlRpc handler pathDr Scofield1-1/+1
almost complete and soon to be ready for testing; OSHttpResponse code out.
2008-06-16* Enables binary data in BaseHttpServer with 'image' in content type.Teravus Ovares1-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.
2008-06-13* minor: Print out uptime as well as stats in periodic diagnostics logging, ↵Justin Clarke Casey1-1/+3
so it's easier to tell which isntances each print out of information is from
2008-05-30Update svn properties. Formatting cleanup.Jeff Ames1-5/+10
2008-05-29attempting to get to the bottom of unresponsive grids servers bySean Dague1-21/+32
adding back in a few messages on exceptions.
2008-05-28Formatting cleanup.Jeff Ames1-9/+13
2008-05-25Update svn properties. Formatting cleanup.Jeff Ames1-10/+10
2008-05-22here are further enhancements to the IHttpAgentHandler and to BaseHttpServer ↵Dr Scofield1-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.
2008-05-20my last "simplification" of the the if-then-else logic in BaseHttpServer ↵Dr Scofield1-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.
2008-05-19(from awebb)Dr Scofield1-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.
2008-05-19adding OSHttpRequest and OSHttpResponse which wrap HttpListenerRequest and ↵Dr Scofield1-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.