发布于 2016-05-12 01:19:43 | 212 次阅读 | 评论: 0 | 来源: 网友投递
Gunicorn Python的HTTP服务器
Gunicorn 绿色独角兽'是一个Python WSGI UNIX的HTTP服务器。这是一个pre-fork worker的模型,从Ruby的独角兽(Unicorn )项目移植。该Gunicorn服务器大致与各种Web框架兼容,只需非常简单的执行,轻量级的资源消耗,以及相当迅速。
gunicorn 19.5.0 发布了。更新如下:
Core
fix: Ensure response to HEAD request won't have message body
fix: lock domain socket and remove on last arbiter exit (#1220)
improvement: use EnvironmentError instead of socket.error (#939)
add: new $FORWARDDED_ALLOW_IPS environment variable (#1205)
fix: infinite recursion when destroying sockets (#1219)
fix: close sockets on shutdown (#922)
fix: clean up sys.exc_info calls to drop circular refs (#1228)
fix: do post_worker_init after load_wsgi (#1248)
Workers
fix access logging in gaiohttp worker (#1193)
eventlet: handle QUIT in a new coroutine (#1217)
gevent: remove obsolete exception clauses in run (#1218)
tornado: fix extra "Server" response header (#1246)
fix: unblock the wait loop under python 3.5 in sync worker (#1256)
Logging
fix: log message for listener reloading (#1181)
Let logging module handle traceback printing (#1201)
improvement: Allow configuring logger_class with statsd_host (#1188)
fix: traceback formatting (#1235)
fix: print error logs on stderr and access logs on stdout (#1184)
Documentation
Simplify installation instructions in gunicorn.org (#1072)
Fix URL and default worker type in example_config (#1209)
update django doc url to 1.8 lts (#1213)
fix: miscellaneous wording corrections (#1216)
Add PSF License Agreement of selectors.py to NOTICE (:issue: #1226)
document LOGGING overriding (#1051)
put a note that error logs are only errors from Gunicorn (#1124)
add a note about the requirements of the threads workers under python 2.x (#1200)
add access_log_format to config example (#1251)
Tests
Use more pytest.raises() in test_http.py
下载地址: