Source

CherryPy / cherrypy / _cpserver.py

Author Commit Message Labels Comments Date
Robert Brewer
sync with python3, including separation of InternalRedirect handling and Exception trapping to WSGI middleware.
Robert Brewer
trunk: syncing with python3, except preferring WSGI 1.0 and sticking with bytes for request attrs.
Robert Brewer
Factored SSL out to separate modules.
Lakin Wecker
trunk - deprecating quickstart. Brings it in line with python3
Robert Brewer
New server.ssl_certificate_chain attribute. See http://groups.google.com/group/cherrypy-users/msg/085a9f2edc920b24.
Robert Brewer
Fixed a bind_addr buglet introduced in [2126].
Robert Brewer
Fix for #894 (can't configure [apache] dynamic FCGI, only static and external).
Robert Brewer
Initial support for multiple servers in config (doesn't allow binding any apps other than cherrypy.tree yet).
Robert Brewer
New ssl_context attribute on wsgiserver. See http://groups.google.com/group/cherrypy-users/browse_thread/thread/201e85a9028a3f80.
Robert Brewer
New server.thread_pool_max attribute for setting wsgiserver.max.
Robert Brewer
Fix for #803 (run CP under Google App Engine).
Robert Brewer
Buried a couple socket, threading module imports for easier Google App Engine integration.
Robert Brewer
Adding a server.nodelay option, and making wsgiserver set TCP_NODELAY by default. See http://www.cmlenz.net/archives/2008/03/python-httplib-performance-problems for the use case.
Robert Brewer
Renamed restsrv -> process in all referrers.
Robert Brewer
Fix for #756 (Deprecate server.quickstart): * server.quickstart now does nothing but raise a warning. * Made 'root' argument to cherrypy.quickstart optional (to make tutorials easier, but it applies broadly). * Removed all calls to server.quickstart.
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
Fix for #740 (Default server.socket_host to IPv4 address).
Robert Brewer
Reworked WSPBus plugins; most now have a 'subscribe' method which attaches them to the bus in a separate step from init. This allows frameworks to create canonical plugin instances but delay or skip their subscription. Some plugins' method names changed (from e.g. {{{__call__}}} to {{{start}}}) to take advantage of a new SimplePlugin base class. The daemonize func is now a Daemonizer class for this reason. Also removed the SubscribedObject class; it was too much magic. The few consumers of it in CherryPy revert to calling canonical plugin instances instead.
Robert Brewer
Moved most of cpserver into a new restsrv.servers module.
Robert Brewer
Fix for #665 (ssl certificate exceptions are not logged).
Robert Brewer
Server docstring update.
Robert Brewer
Upgraded all INADDR_ANY and localhost checks to include IPv6 equivalents.
Robert Brewer
Fix for #643 (socket_host is confusing). Empty string and None are now illegal values for socket_host; use '0.0.0.0' instead for INADDR_ANY.
Robert Brewer
Fix for #691 (Repeated Ctrl-C hangs wsgiserver). It took a bit of doing, but test_states passes on my box. If others can try test_states with and without the -ssl flag, that would be a big help.
Robert Brewer
New pywebd module. Trunk is now "3.1alpha".
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: 1. wsgiserver now treats a host of "" as an alias for INADDR_ANY. The getaddrinfo call now passes host=None and sets AI_PASSIVE in this case. 2. Server.httpserver_from_self doesn't change an empty host ("") to localhost anymore. 3. The test suite has a new {{{--host=<name or IP>}}} flag. 4. The webtest module now allows WebCase.HOST to be "", and will connect on '127.0.0.1' if so. 5. Lots of …
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.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. Next