发布于 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

下载地址:



历史版本 :
Gunicorn 19.7.0 发布,Python 的 HTTP 服务器
gunicorn 19.5.0 发布,Python 的 HTTP 服务器
Gunicorn 19.4.4/19.4.5 发布
Gunicorn 19.4.2/19.4.3 发布
Gunicorn 19.4.1 发布,Python 的 HTTP 服务器
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务