aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/MainServer.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-09-29Fix bug where debug http level 6 could not be specified. Also converts ↵Justin Clark-Casey (justincc)1-2/+2
newlines at this level to '\n' to enable them to be logged.
2012-09-21Comment out the long unused afaik HTTP agent handlers.Justin Clark-Casey (justincc)1-3/+3
As far as I know, this was only used by the IBM Rest modules, much of which has been commented out for a very long time now. Other similar code uses HTTP or stream handlers instead. So commenting this out to reduce code complexity and the need to make this facility consistent with the others where it may not be used anyway. If this facility is actually being used then please notify me or uncomment it if you are core.
2012-09-20Insert a new log level 4 for HTTP IN and HTTP OUT that will log how long the ↵Justin Clark-Casey (justincc)1-17/+31
request took. This is only printed if debug http level >= 4 and the request didn't take more than the time considered 'long', in which case the existing log message is printed. This displaces the previous log levels 4 and 5 which are now 5 and 6 respectively.
2012-09-20Add ability to turn on/off logging of outgoing HTTP requests flowing through ↵Justin Clark-Casey (justincc)1-22/+65
WebUtil. This is for debugging purposes. This is controlled via the "debug http" command which can already log incoming requests. This now gains a mandatory parameter of in, out or all to control what is logged. Log messages are also shortened and labelled and HTTP IN or HTTP OUT to be consistent with existing UDP PACKET IN and PACKET OUT messages.
2012-09-12Fix usage statement on "debug http" console command since max level is now 5 ↵Justin Clark-Casey (justincc)1-1/+1
rather than 3
2012-09-12Make "show http-handlers" command available for ROBUST instances as well as ↵Justin Clark-Casey (justincc)1-0/+51
the simulator executable.
2012-09-11Add levels 4 and 5 to "debug http" console command that will log a sample of ↵Justin Clark-Casey (justincc)1-0/+2
incoming request data and the entire incoming data respectively. See "help debug http" for more details.
2012-06-15Put all debug console commands into a single Debug section rather than ↵Justin Clark-Casey (justincc)1-1/+1
scattering them over other categories
2012-06-15Make the "debug http" command available for robust as well as the simulator. ↵Justin Clark-Casey (justincc)1-4/+56
This allows one to see incoming requests as they happen. This required making everything use the common MainServer class for registering and retrieving http servers, rather than duplicate structures.
2012-06-15Add main instance to internal MainServer.m_Servers list to simplify internal ↵Justin Clark-Casey (justincc)1-3/+61
logic. This does require the server to be added before it is set as the main Instance
2012-06-15When setting debug http level, do this for all known http servers, not just ↵Justin Clark-Casey (justincc)1-11/+30
the main instance.
2012-06-15Get rid of some unnecessary null checks in ↵Justin Clark-Casey (justincc)1-4/+27
RegionApplicationBase.StartupSpecific() - a constructor can never return null. Also adds some method doc to MainServer
2011-10-25Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)1-1/+1
of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
2011-05-05Adding ssl supportBlueWall1-0/+5
Adding ssl support for "Out of Band" applications such as the remote admin module or Robust services
2010-11-08Formatting cleanup.Jeff Ames1-3/+3
2010-11-03Admin Server can now bind to a private ip addressmores1-0/+9
Signed-off-by: Melanie <melanie@t-data.com>
2010-03-25minor: Print out port that http servers are usingJustin Clark-Casey (justincc)1-1/+7
do this in callers so that we know who is setting up these things
2010-01-11Add a console_port setting to let the rest console use a different portMelanie1-2/+2
from the region server
2009-10-21Really make module port selection work. Implement port setting inMelanie1-1/+3
LLProxyLoginModule.
2009-10-20Add MainServer.GetHttpServer(port) method for using multiple listenerMelanie1-0/+17
ports in region modules
2009-07-10Create a MainServer static class to access the regions server's HTTP serverMelanie Thielker1-4/+6
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-04Refactor. Make ConsoleBase a true base class. Create CommandConsole as a simpleMelanie Thielker1-2/+2
console capable of processing commands. Create LocalConsole as a console that uses cursor control and context help. Precursor to a distributed console system for the new grid services. No functional change intended :)
2008-03-18Formatting cleanup.Jeff Ames1-27/+26
2008-02-05Converted logging to use log4net.Jeff Ames1-3/+4
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
2007-12-27* Optimized usingslbsa711-1/+1
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-10saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames1-2/+2
notice of doom
2007-10-30* Optimized usingslbsa711-6/+5
* Shortened type references * Removed redundant 'this' qualifier
2007-09-10mass update of urls in source code to new websiteSean Dague1-1/+1
2007-08-01Commiting whitespace changes, as this used hard tabs instead of theSean Dague1-15/+9
4 spaces found everywhere else.
2007-07-16changed to native line ending encodingSean Dague1-47/+47
2007-07-03* Optimized usings (the 'LL ate my scripts' commit)lbsa711-2/+0
* added some licensing info