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 ( #1297 )
add environment variables to gunicorn access log format ( #1291 )
add --paste-global-conf option ( #1304 )
fix: print access logs to STDOUT ( #1184 )
remove upper limit on max header size config ( #1313 )
fix: print original exception on AppImportError ( #1334 )
use SO_REUSEPORT if available ( #1344 )
fix leak of duplicate file descriptor for bound sockets.
add --reload-engine option, support inotify and other backends ( #1368 , #1459 )
fix: reject request with invalid HTTP versions
add child_exit callback ( #1394 )
add support for eventlets _AlreadyHandled object ( #1406 )
format boot tracebacks properly with reloader ( #1408 )
refactor socket activation and fd inheritance for better support of SystemD ( #1310 )
fix: o fds are given by default in gunicorn ( #1423 )
add ability to pass settings to GUNICORN_CMD_ARGS environnement variable which helps in container world ( #1385 )
fix: catch access denied to pid file ( #1091 )
many additions and improvements to the documentation