aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-10-05More error messages to warn when/if things go wrong.Diva Canto1-2/+14
2009-10-04Leaving the MemoryStreams unclosed.Diva Canto2-2/+4
2009-10-03Slightly better message with status code for WebException.Diva Canto1-1/+1
2009-10-03Close was being called to early on the Memory stream.Diva Canto3-3/+7
2009-10-03More streams closed.Diva Canto2-2/+18
2009-10-03MOre streams closed. Corrected word in GridCommon.ini.exampleDiva Canto1-0/+1
2009-10-03Closing more streams.Diva Canto1-4/+27
2009-10-02Closing another stream.Diva Canto1-4/+19
2009-10-02* Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman1-1/+1
Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework) * Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?
2009-10-02Close streams in MakeRequest.Diva Canto1-6/+20
2009-09-30Remove some tests that no longer applyMelanie1-70/+0
2009-10-01Formatting cleanup.Jeff Ames3-13/+13
2009-09-28Bug fix in SynchronousRestFormsRequester -- Write instead of WriteLine, ↵Diva Canto1-2/+2
which was causing an extra \n to be written into the buffer.
2009-09-24Added test GridClient, which allowed me to remove a few bugs out of the new ↵Diva Canto1-2/+2
code.
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