aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-09-12Formatting cleanup.Jeff Ames1-62/+59
2010-09-03Added XFF header processing. Untested, for lack of proxy.Diva Canto1-0/+2
2010-08-30minor: Add some method doc to BaseHttpServer.HandleRequest()Justin Clark-Casey (justincc)1-2/+8
2010-08-06HACK ALERT! There's some underlying bug in the HTTP server that makes ↵Diva Canto1-0/+7
requests come up with Accept headers from previous requests. Until that gets fixed, this hack goes in.
2010-07-27comment out further debug line in BaseHttpServerJustin Clark-Casey (justincc)1-1/+1
2010-07-26do a whole load of crappy hacking to get cubes to display google.comJustin Clark-Casey (justincc)1-1/+1
currently, for smoe reason the page only appears when you click a face. also, actually navigating anywhere always snaps you back to the google search box, for some unknown reason you can still change the url and normal navigation will work again
2010-07-01do a whole load of crappy hacking to get cubes to display google.comJustin Clark-Casey (justincc)1-1/+1
currently, for smoe reason the page only appears when you click a face. also, actually navigating anywhere always snaps you back to the google search box, for some unknown reason you can still change the url and normal navigation will work again
2010-06-25fix web request exception reporting properly this timeJustin Clark-Casey (justincc)1-1/+1
2010-06-25Revert "Report http server onRequest() exception properly."Justin Clark-Casey (justincc)1-1/+1
This reverts commit c09451a034babe6de7a2ffec44852a19946ec76d.
2010-06-25Report http server onRequest() exception properly.Justin Clark-Casey (justincc)1-1/+1
2010-03-25minor: Print out port that http servers are usingJustin Clark-Casey (justincc)1-2/+0
do this in callers so that we know who is setting up these things
2010-03-25put out full exception stack if something reaches top of base http server ↵Justin Clark-Casey (justincc)1-1/+1
OnRequest() on both mono and .net replace Newtonsoft.Json.XML since the updated copy got accidentally reverted by another commit
2010-03-16minor logging changes to BaseHttpServer, OSHttpRequestJustin Clark-Casey (justincc)1-30/+46
2010-03-11minor: add some more documentation for IHttpServer.AddHTTPHandler() to tell ↵Justin Clark-Casey (justincc)1-4/+2
the caller that the best match for an incoming request URI is invoked
2010-01-04Formatting cleanup. Add copyright headers.Jeff Ames1-1/+1
2009-12-23- commented out unused method ConvertIHttpClientContextToOSHttpdr scofield (aka dirk husemann)1-7/+7
2009-12-15Make sure that we catch and display any exceptions that get right to the top ↵Justin Clark-Casey (justincc)1-46/+52
of our incoming http request handling stack
2009-12-15minor: make logging messages consistent in BaseHttpServerJustin Clark-Casey (justincc)1-25/+25
2009-12-05* Fix line endings in BaseHttpServer.csTeravus Ovares (Dan Olivares)1-6/+6
2009-12-03if an xml rpc method throws an exception, log as an error to the console as ↵Justin Clark-Casey (justincc)1-3/+11
well as returning the exception to the caller
2009-10-22Implemented a Watchdog class. Do not manually create Thread objects anymore, ↵John Hurliman1-8/+0
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-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-01Formatting cleanup.Jeff Ames1-11/+11
2009-09-24minor: replace xmlprc 'no method found' magic number with constant from ↵Justin Clark-Casey (justincc)1-1/+5
xmlrpc library
2009-09-22Completely remove the prior implementation of the request event handlingMelanie1-38/+40
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-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-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 Ames1-1/+1
2009-07-30* Fixed another potential httpserver leak.Teravus Ovares1-1/+6
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 Ovares1-1/+12
2009-07-29* Adds the ability to have a thread efficient long poll service (such as the ↵Teravus Ovares1-5/+90
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-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
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-23* Pipes IPEndPoint through all Login methods, including LLSD/OSD login paths.Adam Frisby1-1/+1
2009-05-23* Pipes requestors IP address through all XmlRpcRequest delegates. This is ↵Adam Frisby1-1/+1
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-22adding RemoveXmlRpcHandler to IHttpServerDr Scofield1-0/+12
2009-05-04Committing the changed treeMelanie Thielker1-0/+1626