Gunicorn 19.7.0 发布了,Gunicorn 绿色独角兽'是一个Python WSGI UNIX的HTTP服务器。这是一个pre-fork worker的模型,从Ruby的独角兽(Unicorn )项目移植。该Gunicorn服务器大致与各种Web框架兼容,只需非常简单的执行,轻量级的资源消耗,以及相当迅速。
该版本至少要求 Python 2.6.0 ,包含如下改进内容:
删除了前一个版本废弃的 gunicorn_django 命令,使用命令行接口替代.
删除前一个版本废弃的 django_settings 设置项,改用 raw-env 设置替代
修改 ssl-version 默认值,从 ssl.PROTOCOL_TLSv1 改为 ssl.PROTOCOL_SSLv23.
fix: initialize the group access list when initgroups is set
add environment variables to gunicorn access log format
add --paste-global-conf option
fix: print access logs to STDOUT
remove upper limit on max header size config
fix: print original exception on AppImportError
use SO_REUSEPORT if available
fix leak of duplicate file descriptor for bound sockets.
add --reload-engine option, support inotify and other backends
fix: reject request with invalid HTTP versions
add child_exit callback
add support for eventlets _AlreadyHandled object
format boot tracebacks properly with reloader
refactor socket activation and fd inheritance for better support of SystemD
fix: o fds are given by default in gunicorn
add ability to pass settings to GUNICORN_CMD_ARGS environnement variable which helps in container world
fix: catch access denied to pid file
many additions and improvements to the documentation
软件详情:http://www.gunicorn.org/
下载地址:https://github.com/benoitc/gunicorn/
来自:开源中国社区

