CherryPy / _cpserver.py

Author Commit Message Labels Comments Date
Robert Brewer avatarRobert Brewer
Changed server.start to server.quickstart, and server.start_all to server.start.
Branches
cherrypy
Robert Brewer avatarRobert 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.
Branches
cherrypy
Robert Brewer avatarRobert 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.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Renamed httptools to "http" to reduce confusion with new cherrypy.tools. Moved non-Tool-related code from cptools to {{{lib/__init__}}}. Added docstrings.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Removed cherrypy.NotReady. Instead, cherrypy.engine will return HTTP 503 Service Unavailable, and cherrypy.server will raise IOError.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Removed duplicate wait_for_occupied_port logic.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Separated cherrypy.server (HTTP) from cherrypy.engine (app):
Branches
cherrypy
Robert Brewer avatarRobert Brewer
CP 3 initial checkin. Global filters have been replaced by request.hooks. Lots of renaming and reorg of modules.
Branches
cherrypy
Default avatar Christian Wyglendowski
Addresses #480.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
server.stop() works now even if init_only is False.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Added meaningful prefixes to names of threads started by CP.
Branches
cherrypy
Default avatar Remi Delon
Allow programs to quit and return an error code; Small fix in sessionauthenticatefilter
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Final fix for #461 and #455:
Branches
cherrypy
Default avatar 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.
Branches
cherrypy
Default avatar Christian Wyglendowski
1. Removed request.wsgi_environ from _cphttpserver.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Oops. Forgot to take out a debug line.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for server.start lowercase names (serverClass = None is different than serverClass = missing).
Branches
cherrypy
Default avatar Remi Delon
Deprecated "initOnly" and "serverClass". New names are "init_only" and "server_class"
Branches
cherrypy
Robert Brewer avatarRobert Brewer
seen_threads really should belong to the Server class.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Made custom Request subclasses easier to implement:
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #413 (Improve configuration error behavior).
Branches
cherrypy
Robert Brewer avatarRobert Brewer
server.wait now checks for server.interrupt, so start_with_callback won't hang on error in server.start.
Branches
cherrypy
Default avatar Remi Delon
Better backward compatibility with pre-PEP8 conversion
Branches
cherrypy
Default avatar Remi Delon
Big change: camelCase to lower_with_underscore names (still need to update the book)
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Patched _cpserver to allow check_port on IPv6 addresses (see #388). Also a fix for http://groups.google.com/group/cherrypy-users/browse_frm/thread/bbfe5eb39c904fe0.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Moved cherrypy.lib.filter to cherrypy.filters. The old path will work (with a warning) until 2.3, when it will be removed.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Moved filter-handling code into lib.filter.__init__.py. Also moved unrepr and modules(), attributes() functions into cptools.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #382 (autoreload call broken).
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #308 (configure autoreload's poll rate).
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #374 (reduce license boilerplate to a single LICENSE.txt file).
Branches
cherrypy
  1. Prev
  2. 1
  3. 2
  4. Next
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.