aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-11-23Formatting cleanup.Jeff Ames1-1/+1
2009-11-18minor: correct error messages when queryfolder failsJustin Clark-Casey (justincc)1-3/+1
2009-11-18minor: remove duplicate copyright notice in PollServiceWorkerThreadJustin Clark-Casey (justincc)1-28/+1
2009-10-22Implemented a Watchdog class. Do not manually create Thread objects anymore, ↵John Hurliman2-12/+2
use Watchdog.StartThread(). While your thread is running call Watchdog.UpdateThread(). When it is shutting down call Watchdog.RemoveThread(). Most of the threads in OpenSim have been updated
2009-10-19* Removed OpenSim.Data.NHibernateJohn Hurliman1-1/+1
* Replaced calls to ThreadPool.QueueUserWorkItem() with ThreadPool.UnsafeQueueUserWorkItem() since OpenSim does not use Code Access Security sandboxing
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