./www/py-gunicorn, Python WSGI HTTP server

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 19.7.1, Package name: py27-gunicorn-19.7.1, Maintainer: gls

Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX. It's a
pre-fork worker model ported from Ruby's Unicorn project. The Gunicorn
server is broadly compatible with various web frameworks, simply
implemented, light on server resource usage, and fairly speedy.


Required to run:
[devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers] [devel/py-test-cov]

Master sites:

SHA1: e4d9f55744bf4198f71d29f61f9eeaf9d216ecac
RMD160: d5c2505b8de371a5b9fd9c3512c217e3666f5b63
Filesize: 393.221 KB

Version history: (Expand)


CVS history: (Expand)


   2017-04-14 15:24:30 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
19.7.1 / 2017/03/21
===================
- fix: continue if SO_REUSEPORT seems to be available but fails (:issue:`1480`)
- fix: support non-decimal values for the umask command line option (:issue:`1325`)

19.7.0 / 2017/03/01
===================
- The previously deprecated ``gunicorn_django`` command has been removed.
  Use the :ref:`gunicorn-cmd` command-line interface instead.
- The previously deprecated ``django_settings`` setting has been removed.
  Use the :ref:`raw-env` setting instead.
- The default value of :ref:`ssl-version` has been changed from
  ``ssl.PROTOCOL_TLSv1`` to ``ssl.PROTOCOL_SSLv23``.
- fix: initialize the group access list when initgroups is set (:issue:`1297`)
- add environment variables to gunicorn access log format (:issue:`1291`)
- add --paste-global-conf option (:issue:`1304`)
- fix: print access logs to STDOUT (:issue:`1184`)
- remove upper limit on max header size config (:issue:`1313`)
- fix: print original exception on AppImportError (:issue:`1334`)
- use SO_REUSEPORT if available (:issue:`1344`)
- `fix leak \ 
<https://github.com/benoitc/gunicorn/commit/b4c41481e2d5ef127199a4601417a6819053c3fd>`_ \ 
of duplicate file descriptor for bound sockets.
- add --reload-engine option, support inotify and other backends (:issue:`1368`, \ 
:issue:`1459`)
- fix: reject request with invalid HTTP versions
- add ``child_exit`` callback (:issue:`1394`)
- add support for eventlets _AlreadyHandled object (:issue:`1406`)
- format boot tracebacks properly with reloader (:issue:`1408`)
- refactor socket activation and fd inheritance for better support of SystemD \ 
(:issue:`1310`)
- fix: o fds are given by default in gunicorn (:issue:`1423`)
- add ability to pass settings to GUNICORN_CMD_ARGS environment variable which \ 
helps in container world (:issue:`1385`)
- fix: catch access denied to pid file (:issue:`1091`)
-  many additions and improvements to the documentation
   2016-10-01 16:15:04 by Wen Heping | Files touched by this commit (4) | Package updated
Log message:
Update to 19.6.0
Add missing DEPENDS for test

Upstream changes:
19.6.0 / 2016/05/21
Core & Logging

    improvement of the binary upgrade behaviour using USR2: remove file lockin \ 
(issue 1270)
    add the --capture-output setting to capture stdout/stderr tot the log

file (issue 1271) - Allow disabling sendfile() via the SENDFILE` environment \ 
variable (issue 1252 - fix reload under pycharm (issue 1129)
Workers

    fix: make sure to remove the signal from the worker pipe (issue 1269)
    fix: gthread worker, handle removed socket in the select loop

(issue 1258)
19.5.0 / 2016/05/10
Core

    fix: Ensure response to HEAD request won’t have message body
    fix: lock domain socket and remove on last arbiter exit (issue 1220)
    improvement: use EnvironmentError instead of socket.error (issue 939)
    add: new $FORWARDDED_ALLOW_IPS environment variable (issue 1205)
    fix: infinite recursion when destroying sockets (issue 1219)
    fix: close sockets on shutdown (issue 922)
    fix: clean up sys.exc_info calls to drop circular refs (issue 1228)
    fix: do post_worker_init after load_wsgi (issue 1248)

Workers

    fix access logging in gaiohttp worker (issue 1193)
    eventlet: handle QUIT in a new coroutine (issue 1217)
    gevent: remove obsolete exception clauses in run (issue 1218)
    tornado: fix extra “Server” response header (issue 1246)
    fix: unblock the wait loop under python 3.5 in sync worker (issue 1256)

Logging

    fix: log message for listener reloading (issue 1181)
    Let logging module handle traceback printing (issue 1201)
    improvement: Allow configuring logger_class with statsd_host (issue 1188)
    fix: traceback formatting (issue 1235)
    fix: print error logs on stderr and access logs on stdout (issue 1184)

Documentation

    Simplify installation instructions in gunicorn.org (issue 1072)
    Fix URL and default worker type in example_config (issue 1209)
    update django doc url to 1.8 lts (issue 1213)
    fix: miscellaneous wording corrections (issue 1216)
    Add PSF License Agreement of selectors.py to NOTICE (:issue: 1226)
    document LOGGING overriding (issue 1051)
    put a note that error logs are only errors from Gunicorn (issue 1124)
    add a note about the requirements of the threads workers under python 2.x \ 
(issue 1200)
    add access_log_format to config example (issue 1251)

Tests

    Use more pytest.raises() in test_http.py

19.4.5 / 2016/01/05

    fix: NameError fileno in gunicorn.http.wsgi (issue 1178)

19.4.4 / 2016/01/04

    fix: check if a fileobject can be used with sendfile(2) (issue 1174)
    doc: be more descriptive in errorlog option (issue 1173)

19.4.3 / 2015/12/30

    fix: don’t check if a file is writable using os.stat with SELINUX (issue 1171)

19.4.2 / 2015/12/29
Core

    improvement: handle HaltServer in manage_workers (issue 1095)
    fix: Do not rely on sendfile sending requested count (issue 1155)
    fix: claridy –no-sendfile default (issue 1156)
    fix: LoggingCatch sendfile failure from no file descriptor (issue 1160)

Logging

    fix: Always send access log to syslog if syslog is on
    fix: check auth before trying to own a file (issue 1157)

Documentation

    fix: Fix Slowloris broken link. (issue 1142)
    Tweak markup in faq.rst

Testing

    fix: gaiohttp test (issue 1164)

19.4.1 / 2015/11/25

    fix tornado worker (issue 1154)

    19.4.0 / 2015/11/20

Core

    fix: make sure that a user is able to access to the logs after dropping a \ 
privilege (issue 1116)
    improvement: inherit the Exception class where it needs to be (issue 997)
    fix: make sure headers are always encodedas latin1 RFC 2616 (issue 1102)
    improvement: reduce arbiter noise (issue 1078)
    fix: don’t close the unix socket when the worker exit (issue 1088)
    improvement: Make last logged worker count an explicit instance var (issue 1078)
    improvement: prefix config file with its type (issue 836)
    improvement: pidfile handing (issue 1042)
    fix: catch OSError as well as ValueError on race condition (issue 1052)
    improve support of ipv6 by backporting urlparse.urlsplit from Python 2.7 to \ 
Python 2.6.
    fix: raise InvalidRequestLine when the line contains maliscious data (issue 1023)
    fix: fix argument to disable sendfile
    fix: add gthread to the list of supported workers (issue 1011)
    improvement: retry socket binding up to five times upon EADDRNOTAVAIL (issue \ 
1004)
    breaking change: only honor headers that can be encoded in ascii to comply \ 
to the RFC 7230 (See issue 1151).

Logging

    add new parameters to access log (issue 1132)
    fix: make sure that files handles are correctly reopenebd on HUP (issue 627)
    include request URL in error message (issue 1071)
    get username in access logs (issue 1069)
    fix statsd logging support on Python 3 (issue 1010)

Testing

    use last version of mock.
    many fixes in Travis CI support
    miscellaneous improvements in tests

Thread worker

    fix: Fix self.nr usage in ThreadedWorker so that auto restart works as \ 
expected (issue 1031)

Gevent worker

    fix quit signal handling (issue 1128)
    add support for Python 3 (issue 1066)
    fix: make graceful shutdown thread-safe (issue 1032)

Tornado worker

    fix ssl options (issue 1146, issue 1135)
    don’t check timeout when stopping gracefully (issue 1106)

AIOHttp worker

    add SSL support (issue 1105)

Documentation

    fix link to proc name setting (issue 1144)
    fix worker class documentation (issue 1141, issue 1104)
    clarify graceful timeout documentation (issue 1137)
    don’t duplicate NGINX config files examples (issue 1050, issue 1048)
    add web.py framework example (issue 1117)
    update Debian/Ubuntu installations instructions (issue 1112)
    clarify pythonpath setting description (issue 1080)
    tweak some example for python3
    clarify sendfile documentation
    miscellaneous typos in source code comments (thanks!)
    clarify why REMOTE_ADD may not be the user’s IP address (issue 1037)

Misc

    fix: reloader should survive SyntaxError (issue 994)
    fix: expose the reloader class to the worker.
   2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356)
Log message:
Switch to MASTER_SITES_PYPI.
   2015-11-04 03:47:43 by Alistair G. Crooks | Files touched by this commit (758)
Log message:
Add SHA512 digests for distfiles for www category

Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-08-28 17:18:24 by Thomas Klausner | Files touched by this commit (2)
Log message:
Upstream claims that it doesn't matter that one file does not compile.
Allow python-2.x again and adapt PLIST.
   2015-08-28 12:37:15 by Thomas Klausner | Files touched by this commit (1)
Log message:
Add upstream bug report URL.
   2015-08-28 12:34:07 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Mark as not-for-python-2.x. Add compiled files for 3.x to PLIST.
Bump PKGREVISION.
   2015-08-09 20:41:58 by Guillaume Lasmayous | Files touched by this commit (3) | Package updated
Log message:
Update www/py-gunicorn to 19.3.0

Upstream changes:
-----------------

19.3.0 / 2015/03/06

Core

    fix: :issue:`978` make sure a listener is inheritable
    add check_config class method to workers
    fix: :issue:`983` fix select timeout in sync worker with multiple connections
    allows workers to access to the reloader. close :issue:`984`
    raise TypeError instead of AssertionError

Logging

    make Logger.loglevel a class attribute

Documentation

    fix: :issue:`988` fix syntax errors in examples/gunicorn_rc

19.2.1 / 2015/02/4

Logging

    expose loglevel in the Logger class

AsyncIO worker (gaiohttp)

    fix :issue:`977` fix initial crash

Documentation

    document security mailing-list in the contributing page.