Python 的 HTTP 服務器,Gunicorn 19.2 發布

jopen 9年前發布 | 9K 次閱讀 Gunicorn

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

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!