Python 的 HTTP 服务器,Gunicorn 19.2 发布
Gunicorn 19.2 发布了,Gunicorn 绿色独角兽'是一个Python WSGI UNIX的HTTP服务器。这是一个预先叉工人模式,从Ruby的独角兽(Unicorn )项目移植。该Gunicorn服务器大致与各种Web框架兼容,只需非常简单的执行,轻量级的资源消耗,以及相当迅速。
该版本详细改进包括:
Core
-
optimize the sync workers when listening on a single interface
-
add
--sendfile
settings to enable/disable sendfile. fix #856 . -
add the selectors module to the code base. #886
-
fix #862 add
--max-requests-jitter
setting to set the maximum jitter to add to the max-requests setting. -
fix #899 propagate proxy_protocol_info to keep-alive requests
-
fix #863 worker timeout: dynamic timeout has been removed, fix a race condition error
-
fix: Avoid world writable file
-
fix #917: the deprecated
--debug
option has been removed.
Logging
-
fix #941 set logconfig default to paster more trivially
-
add statsd-prefix config setting: set the prefix to use when emitting statsd metrics
-
fix #832 log to console by default
-
fix #845 set the gunicorn loggers from the paste config
Thread Worker
-
fix #908 make sure the worker can continue to accept requests
Eventlet Worker
-
fix #867 , Fix eventlet shutdown to actively shut down the workers.
可通过 pypi 获取:https://pypi.python.org/pypi/gunicorn/19.2.0
来自:http://www.oschina.net/news/59259/gunicorn-19-2