aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-09-24minor: replace xmlprc 'no method found' magic number with constant from ↵Justin Clark-Casey (justincc)1-1/+5
xmlrpc library
2009-09-22Thank you, Intari, for a patch that implements the missing pieces ofMelanie1-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.
2009-09-22Completely remove the prior implementation of the request event handlingMelanie2-39/+44
on poll handlers. Introduce a new delegate on the PollServiceEventArgs that allow access to the request headers and body.
2009-09-22Remove support for executing a handler on poll. It caused other issuesMelanie1-27/+11
2009-09-22Disable the handler execution for poll services until the ramificationsMelanie1-3/+3
can be studied
2009-09-21Add the headers collection to the keysvals for HTT requestsMelanie1-0/+1
2009-09-21Add X-PollServiceID pseudo-header to the request handling for pollsMelanie1-1/+3
2009-09-21Make the poll service handler call the handler method on incoming requests.Melanie1-9/+30
2009-09-21Add a RequestID (UUID.Random()) to the PollRequest and pass it to allMelanie4-7/+10
even hander delegates.
2009-09-21Add a UUID param to NoEvents in PollServiceEventArgs to make it more genericMelanie3-3/+3
2009-09-19Add the skeleton of the authentication connector and the forms data requesterMelanie1-0/+95
2009-08-29Fix up WebFetchInventoryDescendents to really return all data needed,Melanie1-1/+1
especially the folder version and the subfolders. Fixes inventory search hang and folders not loading.
2009-08-26* Another attempt at fixing the random spurious test error.Teravus Ovares (Dan Olivares)1-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.
2009-08-26Add try/catch around EQ request processingMelanie1-16/+27
Fixes Mantis #4061
2009-08-25Closed the web request and stream in SynchronousRestSessionObjectPoster -- ↵Diva Canto1-0/+3
maybe this is the cause of some timeouts seen in some monos?
2009-08-21Added a more sane InventoryServerMoveItemsHandler. Changed ↵Diva Canto1-1/+1
SynchronousRestObjectRequester so that it also understands PUTs.
2009-08-17Apply http://opensimulator.org/mantis/view.php?id=4016Justin Clark-Casey (justincc)1-0/+13
Make previously hidden cookies available to code Thanks jhurliman
2009-08-12change 535cb0efc so that the default LLSD serialization format isdr scofield (aka dirk husemann)1-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.
2009-08-08* FreeContext may be a bit too buggy for my tastes in some environments. * ↵Teravus Ovares (Dan Olivares)1-7/+7
Commenting it for the moment.
2009-08-05* Patch from jhurliman to add accept type recognition to determine the llsd ↵Teravus Ovares (Dan Olivares)1-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>
2009-08-01Add copyright header. Formatting cleanup.Jeff Ames3-3/+30
2009-07-30* Fixed another potential httpserver leak.Teravus Ovares2-1/+25
2009-07-29Add basic support ofr detached request handling to the HTTP server.Melanie Thielker1-1/+7
Groundwork to finish HTTP IN.
2009-07-29* An attempt to fix mantis #3955Teravus Ovares1-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(); }
2009-07-29* An attempt to fix mantis #3953Teravus Ovares4-5/+29
2009-07-29* Re trigger pandaTeravus Ovares1-1/+1
2009-07-29* Adds the ability to have a thread efficient long poll service (such as the ↵Teravus Ovares6-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.
2009-07-21* Updated C# WebServer to the latest available source download (r19869) and ↵Teravus Ovares1-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!)
2009-06-18Applied patch from Mantis #3736 , which should stop the userserver crashing ↵MW1-1/+2
when a SL viewer version 1.23 logs in. Thanks StrawberryFride
2009-06-10Formatting cleanup.Jeff Ames2-2/+2
2009-06-05* Fix problem where known missing assets would stop save oar ever completingJustin Clarke Casey1-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
2009-06-05* Add oar saving timeoutJustin Clarke Casey1-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
2009-06-01* Removed some commented-out codelbsa711-1/+0
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames29-29/+29
LICENSE.txt.
2009-05-30Added option (on my default) to the clone avatar function so that the ↵MW1-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.
2009-05-25* reseparate inventory item creator id and creator uuidJustin Clarke Casey1-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
2009-05-23* Pipes IPEndPoint through all Login methods, including LLSD/OSD login paths.Adam Frisby2-2/+3
2009-05-23* Pipes requestors IP address through all XmlRpcRequest delegates. This is ↵Adam Frisby2-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)
2009-05-22cleaning out warnings.Dr Scofield1-1/+2
NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that?
2009-05-22adding RemoveXmlRpcHandler to IHttpServerDr Scofield2-0/+14
2009-05-20Add copyright headers, formatting cleanup.Jeff Ames2-2/+29
2009-05-15Bug fix on POST asset so that the new asset service connector can talk to ↵diva1-2/+5
the old asset server.
2009-05-14* Moved BaseRequestHandlerTestHelper to OpenSim.Tests.Common.Setup for great ↵lbsa711-1/+1
justice.
2009-05-13* Added some more tests to the GetAssetStreamHandlerslbsa711-2/+2
2009-05-11Update svn properties.Jeff Ames1-43/+43
2009-05-10Create SynchronousRestObjectRequester and make SynchronousRestObjectPosterMelanie Thielker1-1/+10
use that. Mark SynchronousRestObjectPoster.BeginPostObject as obsolete.
2009-05-10Create an async form of the RestObjectPoster. Rename the file (but not theMelanie Thielker2-0/+126
class!) to SynchronousRestObjectRequester. Add CacheBuckets parameter to cache
2009-05-09Make remote assets work through the new server systemMelanie Thielker1-17/+29
2009-05-08* Introduced new HttpServer.Tests projectlbsa712-0/+50
* Split the GetAssetStreamHandler testing into separate tests for BaseRequestHandler * Ignored some gens
2009-05-07* Added some more GetAssetStreamHandlerTestslbsa711-3/+11
* In the process, caught a potential bug where the handler would allow paths not starting with the registered prefix