Source

CherryPy / cherrypy / _cpserver.py

The branch 'cherrypy-3.0.x' does not exist.
Author Commit Message Labels Comments Date
Robert Brewer
New wsgiserver queue timeout, rejecting conns on Queue.Full
Branches
cherrypy-3.0.x
Robert Brewer
New engine.release method, which decouples request and engine. Also new server.base method, which simplifies cherrypy.url. Finally, cherrypy._serving is promoted to cherrypy.serving, and has a new "load" method.
Robert Brewer
Changes to socket_host:
Robert Brewer
Renamed {{{_cpwsgiserver.py}}} to {{{wsgiserver.py}}}, to make it more clear that it's a public, reusable module. Also renamed {{{_cpwsgi.WSGIServer}}} to {{{_cpwsgi.CPWSGIServer}}}, to match the naming convention of the other subclasses in that module.
Robert Brewer
Tweaks.
Robert Brewer
SSL support for _cpwsgiserver. One test fails immaterially. Run "test.py --ssl" to test.
Robert Brewer
Fix for #548 (Rename the before_main hook to before_handler and MainTool to HandlerTool).
Robert Brewer
Fix for #560 (misleading log on socket_host="") for CP 2.2 and CP 3.
Robert Brewer
raise ValueError on cherrypy.server.start() if no httpservers defined.
Robert Brewer
Fix for #557 (socket_file). We should talk about a server.socket_family attribute sometime.
Robert Brewer
API and docstring cleanups:
Robert Brewer
More (final?) config overhaul work:
Robert Brewer
Made all imports absolute "just in case" for Python 2.5.
Robert Brewer
Changed server.start to server.quickstart, and server.start_all to server.start.
Robert Brewer
Fix for #537 (Support for listening on multiple ports). cherrypy.server now has no "httpserver" attribute; instead, it has an "httpservers" attribute, a dict of the form {server object: bind_addr} where bind_addr is usually (host, port). New start_all method. Calling stop stops all httpservers, and restart stops all then restarts all.
Robert Brewer
Merged the reexec branch. Autoreload now uses exec instead of spawn, and therefore never runs more than one process at a time. There's a new test for autoreload in test_states.py.
Robert Brewer
Renamed httptools to "http" to reduce confusion with new cherrypy.tools. Moved non-Tool-related code from cptools to {{{lib/__init__}}}. Added docstrings.
Robert Brewer
Removed cherrypy.NotReady. Instead, cherrypy.engine will return HTTP 503 Service Unavailable, and cherrypy.server will raise IOError.
Robert Brewer
Removed duplicate wait_for_occupied_port logic.
Robert Brewer
Separated cherrypy.server (HTTP) from cherrypy.engine (app):
Robert Brewer
CP 3 initial checkin. Global filters have been replaced by request.hooks. Lots of renaming and reorg of modules.
Christian Wyglendowski
Addresses #480.
Robert Brewer
server.stop() works now even if init_only is False.
Robert Brewer
Added meaningful prefixes to names of threads started by CP.
Remi Delon
Allow programs to quit and return an error code; Small fix in sessionauthenticatefilter
Robert Brewer
Final fix for #461 and #455:
Christian Wyglendowski
[965] is the first of two changesets to modify some internal behavior. Unfortunately, it temporarily broke CP in the process. This changeset is a temporary fix to that temporary problem which Robert is addressing more completely.
Christian Wyglendowski
1. Removed request.wsgi_environ from _cphttpserver.
Robert Brewer
Oops. Forgot to take out a debug line.
Robert Brewer
Fix for server.start lowercase names (serverClass = None is different than serverClass = missing).
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next