Source

CherryPy / cherrypy / server.py

Author Commit Message Labels Comments Date
Michael Robinson
fixed ticket:285, made cgi.maxlen global, as recommended in ticket:90
John P. Speno
Added cherrypy.request.remotePort; the TCP port from which the client's connection originates. Added this attribute to the book also.
Remi Delon
Checking in first draft of new session implementation (see ticket #275). Only RAM and File storage so far, and it doesn't clean up old sessions
Robert Brewer
1. Native HTTP servers weren't really callable via server.run_server's serverClass param, since they required arguments. embedded_server was a hack around that, but the better solution is to make them parameterless. Done now. 2. Because of that, we now have a generic server.restart() function. 3. import of deprecated httptools in sessionauthenticatefilter.py now buried further to raise fewer warnings.
Robert Brewer
1. Partial fix for ticket #242 (ability to specify attributes in a config file). 2. Moved modules, attributes functions from server.py to _cputil.py. 3. A couple of newline fixes for unrelated modules.
Sylvain Hellegouarch
Added support for user defined plugins handling from within the config system. Should fix ticket 205. Three the new entries to the config system : server.filtersRoot : specify where CherryPy should look for finding filters modules, it's a list of strings. Nothing is prefixed to those paths server.inputFiltersDict : a dictionnary that defines which filters should act on the output. The keys are Python module (without the .py extension), the value is the classname within the module server.outputFil…
Robert Brewer
1. Partial fix for ticket #245 (stop method is never called when sending a signal). autoreload is still vulnerable. 2. New retry scheme for NotReady errors. Some systems were raising NotReady on the test suite.
John P. Speno
Made the Serving HTTP log line more user friendly when using an INET socket.
Robert Brewer
1. Builtin HTTP servers now check for free port. 2. Bugfix in covercp (had bad data if server restarted between requests).
Robert Brewer
Fixes for ticket #226.
Robert Brewer
You can now set the config entry "autoreload.on" to False if you want to disable autoreload, yet still have "server.environment" == "development".
Robert Brewer
coverage now only warns if you turn on codecoverage or import covercp directly.
Robert Brewer
Added optional code-coverage run to CP, including test suite. Install Rees or Batchelder's coverage.py to use it.
Michael Robinson
Default filters are now initilized when the server is started. This allows access to configuration data from within __init__ methods.
Robert Brewer
Added a cherrypy._appserver_state flag. Helps report errors when server.start() has not been called or did not complete normally.
Robert Brewer
Typo.
Robert Brewer
cherrypy.request, response, sessions, and threadData are now instantiated on "import cherrypy" (was: inside server.start()).
Robert Brewer
Fix for ticket #199 (HTTPS support). New cherrypy.request.scheme attribute.
Robert Brewer
Implements ticket #195. 1. cpg module removed, all content moved into cherrypy.__init__. 2. Removed some circular imports in sessionfilter by moving sessionfilter.sessionfilter and _sessionTypes into sessionfilter.__init__. 3. renamed _cpconfig to "config". 4. renamed _cpserver to "server". 5. renamed cperror to _cperror; cherrypy.__init__ now imports * from _cperror.