Commits

Author Commit Message Labels Comments Date
Robert Brewer
New Request.stage attribute to help with debugging.
Robert Brewer
Added {{{SimplePlugin.__init__}}}.
Robert Brewer
Docstrings and a test tweak.
Robert Brewer
Bus touchups.
Robert Brewer
Fix for #751 (logging: Python file objects are not thread-safe). Whew. Finally got all the bus operations where I want em: 1. There's a new EXITING state 2. bus.block() waits for EXITING now instead of STOPPED, and also wait for all threads to exit, so the main thread doesn't exit (and run atexit callbacks) too early. 3. bus.exit() no longer calls sys.exit. Instead, exit is used to signal the main thread to unblock and terminate normally. This means some callers of stop need(ed) to be changed to call exit instead. …
Robert Brewer
Cosmetics.
Tags
cherrypy-3.1.0beta2
Robert Brewer
Removed a bare except that was hiding errors.
Robert Brewer
Some bus/plugin improvements.
Robert Brewer
Trunk fix for #752 (Return cherrypy.server to a single-server model): 1. Change restsrv.servers.ServerManager (multiple httpservers) to ServerAdapter (one httpserver). 2. cherrypy.server is now a subclass of ServerAdapter, and is subscribed by default. 3. Made several plugin methods idempotent that weren't before. 4. Added names to win32 bus state events. Also fixed a buglet in win32 block(). 5. Added repr to wspbus.states.State objects. 6. Did ''not'' change …
Robert Brewer
Changed bus event messages to match the state enum values.
Robert Brewer
Docstring.
Robert Brewer
Completely removed "engine" from restsrv.
Lakin Wecker
Persuant to #1815, the ServerManager (which creates threads) should not be started until after Daemonizer
Lakin Wecker
Fixing the bug exposed by the unit test I just committed in : http://cherrypy.org/changeset/1815 . The fix is to catch SystemExit errors and if we have a pending exception cause by earlier errors, we ensure that the exit code is not zero. Additionally due to some better understandings of what fork does, we move fork further back in the startup process. However, fork has issues when threads are already open, so we shuffle around the default priorities of various plugins to ensure all threads …
Lakin Wecker
Adding a unit test which exposes a bug whereby CP exit codes are mistakenly set to 0 by Daemonizer even if there are pending startup errors waiting to be raised.
zakj
Coerced all path names in covercp.py to lower-case, since some versions of coverage do so.
Lakin Wecker
Allowing SystemExit, and KeyboardInterrupt exceptions through during wspbus.start() without calling stop. (Allows daemonization to function properly). Also log any exceptions which cause start to fail.
Robert Brewer
Fix for #747 (log.screen should send error log messages to stderr).
Robert Brewer
Fix for #745 (Make a builtin tool which logs all hooks for a given request).
Robert Brewer
New test and fix for errors during engine.start().
Robert Brewer
Bah. Forgot to commit setup.py.
Tags
cherrypy-3.1.0beta
Robert Brewer
Final trunk fix for #718 (High count of uncollectable objects). Proved once again that WSGI 1.0 middleware pretty much has to be implemented as two cooperating classes.
Robert Brewer
Removing decorator in test_session for Python 2.3 compatibility
Robert Brewer
Forward port to trunk of 3.0.x [1716]. New support for mod_wsgi in the test suite. Use test.py --server=modwsgi.
Robert Brewer
Forward port to trunk of 3.0.x [1715]. Buglet in PostgresqlSession constructor.
Robert Brewer
Oops. [1711] rolled it back.
Robert Brewer
Forward port to trunk of 3.0.x [1709]. Added code to print unreachable object typecounts. See #718.
Robert Brewer
Trunk fix for #714 (bug in tools.caching).
Robert Brewer
Forward port to trunk from 3.0.x [1704]. Responses were being gzipped twice when served from cache.
Robert Brewer
Forward port to trunk from 3.0.x [1703]. Added checking of 'Vary' header before responding with cached content.
  1. Prev
  2. Next