summaryrefslogtreecommitdiff
path: root/cherrypy/process/servers.py
Commit message (Collapse)AuthorAgeFilesLines
* Update commentsJason R. Coombs2017-10-281-3/+4
|
* Use short-circuits and reindent to allow the single-line invocation of ↵Jason R. Coombs2017-10-281-9/+10
| | | | portend.occupied, required by older Pythons.
* Feed the hobgoblins (delint).Jason R. Coombs2017-10-271-2/+5
|
* Mark docstrings with slash escaping as raw str (PR #1610 by @scop)Ville Skyttä2017-07-101-1/+1
| | | | * https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior (Python 3.6 invalid escape sequence deprecation)
* Rely on portend for port checks. Fixes #1332.Jason R. Coombs2017-01-191-106/+26
|
* A comment is more appropriate here.Jason R. Coombs2016-12-311-3/+1
|
* Remove unused variables.Jason R. Coombs2016-12-311-1/+0
|
* Allow binding to an ephemeral port. Fixes #645.Jason R. Coombs2016-12-291-13/+33
|
* Use single quotes as double-quotes, even with the first one escaped, causes ↵Jason R. Coombs2016-12-231-1/+1
| | | | problems with SublimeText syntax highlighting.
* Don't use hanging indent, especially when it makes the syntax harder to read.Jason R. Coombs2016-12-231-4/+8
|
* Convert all strings to conform single-quoted styleSviatoslav Sydorenko2016-09-081-24/+24
| | | | pre-commit run double-quote-string-fixer --all-files
* Fix #1492: systemd socket activation (PR #1494)Laszlo Megyer2016-09-031-3/+4
| | | | | when starting up cherrypy via socket activation we should not wait for the port to become free because systemd is bound to it.
* Only wait for the port if not running via socket-activationMario Sanchez Perez2016-07-251-3/+7
| | | | | | | | Otherwise this will always end up killing the server in the socket-activated scenario, as the port won't ever be occupied by cherrypy, since the socket is handled by systemd. Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
* Use expose decorator throughout the codebase.Jason R. Coombs2016-06-051-1/+1
|
* Remove support for deprecated attributes on wsgiserver2 around SSL supportJason R. Coombs2015-12-201-2/+1
|
* servers.py edited online with Bitbucket (doctring of ServerAdapter corrected ↵yoochan2015-01-061-1/+1
| | | | | | | for proper formating of code) --HG-- branch : yoochan/serverspy-edited-online-with-bitbucket-d-1420541114999
* fix the output message to show the correct scheme with ssl enabled servercavallo712014-09-121-1/+2
| | | | | --HG-- branch : fix.https.message
* More PEP8 work.Gustavo Picon2014-01-121-7/+12
|
* Running: autopep8 -vvvvv -i `find . -name '*.py'`Gustavo Picon2014-01-121-2/+10
| | | | | --HG-- branch : autopep8
* Try to get the scheme from httpserverJuan-Pablo Scaletti2013-03-181-2/+16
|
* Adds a http:// to the displayed server URL (if a host and a port are available)Juan-Pablo Scaletti2013-03-171-1/+1
|
* Update documentation to remove reference to old configuration alias.Chris Beelby2012-11-261-1/+1
|
* Fix error in Python 3.3 where socket.error and IOError are the same ↵Jason R. Coombs2012-10-031-3/+4
| | | | | | | exception class (OSError). Thanks to Alex Hill for the patch. Fixes #1170. --HG-- branch : cherrypy-3.2.x
* Don't raise an error in server.wait() when testing against loopback ↵Jason R. Coombs2012-04-081-1/+11
| | | | | | | interface, which is not guaranteed to exist (and in fact does not exist in common platforms such as rackspace hosting and Heroku). Fixes #1100. --HG-- branch : cherrypy-3.2.x
* Removed trailing whitespace from the codebase.Gustavo Picon2012-04-031-36/+36
| | | | | | | sed -i '' -e 's/ *$//' `find cherrypy -name '*.py'` --HG-- branch : cherrypy-3.2.x
* Fix for #986 (Patch: Slightly increase timeout)Robert Brewer2011-07-041-6/+15
|
* Bye bye, py2/3.Robert Brewer2011-07-021-0/+418
|
* Bringing python3 back into trunk with its own py3 folder; what was in trunk ↵trunkRobert Brewer2011-02-251-418/+0
| | | | goes in the py2 folder, and we can use a single setup.py to install either, depending on the version of Python that runs setup.py install.
* Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.Robert Brewer2011-02-241-5/+5
|
* Added CGI adapter to servers.py and cherryd. See #894.Robert Brewer2011-02-211-0/+23
|
* Some backports (mostly whitespace, really) from the python3 branch.Robert Brewer2010-12-271-1/+12
|
* Buglet in FlupFCGIServer. See ↵Robert Brewer2010-08-081-1/+1
| | | | http://stackoverflow.com/questions/1665742/cherrypy-or-other-python-framework-with-fastcgi-on-shared-host
* More doc work.Robert Brewer2010-08-081-2/+2
|
* Docs: Big cleanup of deployguide.Robert Brewer2010-06-061-13/+113
|
* More doc work.Robert Brewer2010-06-011-1/+1
|
* Based on IRC discussions with fumanchu regarding #960, we determined the ↵jaraco2009-10-301-1/+2
| | | | best fix at this stage is to hard-code the common IN6ADDR_ANY addresses. This should fix #960.
* Some IPV6 tweaks.Robert Brewer2009-10-031-2/+10
|
* trunk: A bunch more alignments between trunk and python3 syntax.Robert Brewer2009-06-021-2/+2
|
* Fix for #894 (can't configure [apache] dynamic FCGI, only static and external).Robert Brewer2009-02-111-1/+10
|
* FCGI tweak to help it shut down.Robert Brewer2009-01-291-2/+2
|
* Pass *self.args, **self.kwargs to WSGIServer instead of *args,georgem2008-07-231-1/+1
| | | | **kwargs.
* Delay flup server init since it starts threads right away.Robert Brewer2008-07-231-9/+17
|
* Override _installSignalHandlers for flup servers so they don't try togeorgem2008-07-221-0/+34
| | | | | | | install handlers (which causes errors in Linux). Added FlupSCGIServer to servers.py. Add '' to the front of sys.path in cherryd so modules in the currect directory can be imported in Linux. Added scgi support to cherryd.
* Buried a couple socket, threading module imports for easier Google App ↵Robert Brewer2008-06-041-2/+3
| | | | Engine integration.
* Fix for #757 (Reduce socket timeout for wait_for_free_port to speed up startup).Robert Brewer2008-04-271-4/+5
|
* Audit of logging:Robert Brewer2008-04-051-1/+1
| | | | | | | | | 1. cherrypy.log now defaults to INFO. 2. Bus.log now takes a 'level=INFO' arg. 3. 'log' channel subscribers now must accept a 'level' arg. 4. Some bus plugin messages upgraded to WARN or ERROR. 5. Some CP core messages upgraded to ERROR. 6. log.screen move to stderr polished. See #747.
* Working cherryd daemon script. New FlupFCGIServer wrapper in servers.py. ↵Robert Brewer2008-03-181-0/+32
| | | | Also added a config arg to cherrypy.Application.
* Renamed restsrv -> process. Boring but practical.Robert Brewer2008-03-161-0/+190