aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Thank you, Intari, for a patch that implements the missing pieces ofMelanie2009-09-221-2/+2
| | | | | | | | Http-in and makes the host name for URL generation configurable. Applied with changes: llGetSimulatorHostname was not changed, because the change breaks existing behavior and carries a data exposure risk. That value needs to be configurable, the proposed fixed change is not acceptable.
* Completely remove the prior implementation of the request event handlingMelanie2009-09-222-39/+44
| | | | | on poll handlers. Introduce a new delegate on the PollServiceEventArgs that allow access to the request headers and body.
* Remove support for executing a handler on poll. It caused other issuesMelanie2009-09-221-27/+11
|
* Disable the handler execution for poll services until the ramificationsMelanie2009-09-221-3/+3
| | | | can be studied
* Add the headers collection to the keysvals for HTT requestsMelanie2009-09-211-0/+1
|
* Add X-PollServiceID pseudo-header to the request handling for pollsMelanie2009-09-211-1/+3
|
* Make the poll service handler call the handler method on incoming requests.Melanie2009-09-211-9/+30
|
* Add a RequestID (UUID.Random()) to the PollRequest and pass it to allMelanie2009-09-214-7/+10
| | | | even hander delegates.
* Add a UUID param to NoEvents in PollServiceEventArgs to make it more genericMelanie2009-09-213-3/+3
|
* Add the skeleton of the authentication connector and the forms data requesterMelanie2009-09-191-0/+95
|
* Fix up WebFetchInventoryDescendents to really return all data needed,Melanie2009-08-291-1/+1
| | | | | especially the folder version and the subfolders. Fixes inventory search hang and folders not loading.
* * Another attempt at fixing the random spurious test error.Teravus Ovares (Dan Olivares)2009-08-261-6/+13
| | | | * This time it might be the listening socket thread from HttpServer aborting with a non blocking thread abort exception. Hopefully calling Stop() on MainServer.Instance will solve that.
* Add try/catch around EQ request processingMelanie2009-08-261-16/+27
| | | | Fixes Mantis #4061
* Closed the web request and stream in SynchronousRestSessionObjectPoster -- ↵Diva Canto2009-08-251-0/+3
| | | | maybe this is the cause of some timeouts seen in some monos?
* Added a more sane InventoryServerMoveItemsHandler. Changed ↵Diva Canto2009-08-211-1/+1
| | | | SynchronousRestObjectRequester so that it also understands PUTs.
* Apply http://opensimulator.org/mantis/view.php?id=4016Justin Clark-Casey (justincc)2009-08-171-0/+13
| | | | | Make previously hidden cookies available to code Thanks jhurliman
* change 535cb0efc so that the default LLSD serialization format isdr scofield (aka dirk husemann)2009-08-121-2/+4
| | | | | | | llsd+xml instead of llsd+json --- the latter seems to break existing bots. this assumes that those bots that want llsd+json will properly signal that desire, if that is not the case, we need to revisit this. fixes mantis #3977.
* * FreeContext may be a bit too buggy for my tastes in some environments. * ↵Teravus Ovares (Dan Olivares)2009-08-081-7/+7
| | | | Commenting it for the moment.
* * Patch from jhurliman to add accept type recognition to determine the llsd ↵Teravus Ovares (Dan Olivares)2009-08-051-7/+67
| | | | | | content format. *should allow both json and xml serializations of llsd to work properly. Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com>
* Add copyright header. Formatting cleanup.Jeff Ames2009-08-013-3/+30
|
* * Fixed another potential httpserver leak.Teravus Ovares2009-07-302-1/+25
|
* Add basic support ofr detached request handling to the HTTP server.Melanie Thielker2009-07-291-1/+7
| | | | | | Groundwork to finish HTTP IN.
* * An attempt to fix mantis #3955Teravus Ovares2009-07-291-2/+2
| | | | | * It's possible it could re-cause mantis #3953, but the FreeContext isn't always necessary because Connection: close ---> Disconnect(SocketError.Success) { FreeContext(); }
* * An attempt to fix mantis #3953Teravus Ovares2009-07-294-5/+29
|
* * Re trigger pandaTeravus Ovares2009-07-291-1/+1
|
* * Adds the ability to have a thread efficient long poll service (such as the ↵Teravus Ovares2009-07-296-5/+441
| | | | | | | | | eventqueue) * If this doesn't melt the Http Server, this will significantly reduce the number of threads in use on regions with many users. * Adds AddPollServiceHTTPHandler, and RemovePollServiceHTTPHandler to BaseHttpServer * Generic enough to be used for many long poll services, not only the EventQueue.
* * Updated C# WebServer to the latest available source download (r19869) and ↵Teravus Ovares2009-07-211-5/+14
| | | | | | | | | | applied a few mods from the old version (now up on opensim-libs (VS 3.5 project). * Made various changes to BaseHttpServer to accommodate the new interfaces. * This version has been significantly re-architected and may fail in unusual and insidious ways. * Please pay attention to any errors you get and post a Mantis if you can reproduce an issue with the HTTPServer. I'm including the pdb and having the http server compiled in debug for a few weeks so that when an error occurs, it'll print the pertenant data. * Once again, this is the full C# WebServer, not the lite branch that is included in LibOMV (we need SSL!)
* Applied patch from Mantis #3736 , which should stop the userserver crashing ↵MW2009-06-181-1/+2
| | | | when a SL viewer version 1.23 logs in. Thanks StrawberryFride
* Formatting cleanup.Jeff Ames2009-06-102-2/+2
|
* * Fix problem where known missing assets would stop save oar ever completingJustin Clarke Casey2009-06-051-10/+50
| | | | | | | | | * Issue was that region server was silently dropping an XmlException caused by trying to deserialize the blank asset service response * So make asset service return http status NOT FOUND rather than OK in accordance with REST * and interpret this correctly in the async response so that a null object is sent back * This means that this fix won't be active until both region simulator and server reach this revision
* * Add oar saving timeoutJustin Clarke Casey2009-06-051-1/+9
| | | | | | | | | * If an oar save fails to get responses to all asset requests to the asset service then timeout after 60 seconds * Timeout executes abort, since missing assets in an OAR seems bad * This means that oar saves won't permanently hang and instead can be retried if something goes wrong with the asset service * This is not a solution to mantis 3714. Hopefully a fix will be along shortly since I can now consistently reproduce that problem
* * Removed some commented-out codelbsa712009-06-011-1/+0
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-0129-29/+29
| | | | LICENSE.txt.
* Added option (on my default) to the clone avatar function so that the ↵MW2009-05-301-1/+9
| | | | | | | clothes and attachments that the target avatar is wearing, to begin with, are removed. So the end result isn't a merger of those clothes/attachments and the ones the template avatar is wearing. Added IPAddress ListenIPAddress property to BaseHttpServer so that the listening/binding IP can be set.
* * reseparate inventory item creator id and creator uuidJustin Clarke Casey2009-05-251-4/+0
| | | | | | | | | * unfortunately, while the client requires uuids and we want to be able to have arbitrary string ids, these cannot be kept in sync * I think the problems last time were due to a serialization change * So the major inteface version has been bumped to take care of any lingering issues here. * This means that region servers beyond this revision can only connect to similarly uptodate grid services, and vice versa
* * Pipes IPEndPoint through all Login methods, including LLSD/OSD login paths.Adam Frisby2009-05-232-2/+3
|
* * Pipes requestors IP address through all XmlRpcRequest delegates. This is ↵Adam Frisby2009-05-232-2/+3
| | | | | | | | | | needed to be able to 'NAT-wrap' the login sequence. * If you have something using XmlRpc that isn't in core, change your method signature from: (XmlRpcRequest request) to: (XmlRpcRequest request, IPEndPoint remoteClient)
* cleaning out warnings.Dr Scofield2009-05-221-1/+2
| | | | | | NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that?
* adding RemoveXmlRpcHandler to IHttpServerDr Scofield2009-05-222-0/+14
|
* Add copyright headers, formatting cleanup.Jeff Ames2009-05-202-2/+29
|
* Bug fix on POST asset so that the new asset service connector can talk to ↵diva2009-05-151-2/+5
| | | | the old asset server.
* * Moved BaseRequestHandlerTestHelper to OpenSim.Tests.Common.Setup for great ↵lbsa712009-05-141-1/+1
| | | | justice.
* * Added some more tests to the GetAssetStreamHandlerslbsa712009-05-131-2/+2
|
* Update svn properties.Jeff Ames2009-05-111-43/+43
|
* Create SynchronousRestObjectRequester and make SynchronousRestObjectPosterMelanie Thielker2009-05-101-1/+10
| | | | | | use that. Mark SynchronousRestObjectPoster.BeginPostObject as obsolete.
* Create an async form of the RestObjectPoster. Rename the file (but not theMelanie Thielker2009-05-102-0/+126
| | | | | | | class!) to SynchronousRestObjectRequester. Add CacheBuckets parameter to cache
* Make remote assets work through the new server systemMelanie Thielker2009-05-091-17/+29
|
* * Introduced new HttpServer.Tests projectlbsa712009-05-082-0/+50
| | | | | | | * Split the GetAssetStreamHandler testing into separate tests for BaseRequestHandler * Ignored some gens
* * Added some more GetAssetStreamHandlerTestslbsa712009-05-071-3/+11
| | | | | * In the process, caught a potential bug where the handler would allow paths not starting with the registered prefix
* * Added some GetAssetStreamHandlerTestslbsa712009-05-061-2/+2
| | | | | * Minor tweaks to attain testability