Gunicorn 19.4 has been released
Gunicorn 19.4 has been released. This is a new version with some new features and fixes.
Changes
Core
- fix: make sure that a user is able to access to the logs after dropping a
privilege (#1116) - improvement: inherit the
Exception
class where it needs to be (#997) - fix: make sure headers are always encodedas latin1 RFC 2616 (#1102)
- improvement: reduce arbiter noise (#1078)
- fix: don't close the unix socket when the worker exit (#1088)
- improvement: Make last logged worker count an explicit instance var (#1078)
- improvement: prefix config file with its type (#836)
- improvement: pidfile handing (#1042)
- fix: catch OSError as well as ValueError on race condition (#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
(#1023) - fix: fix argument to disable sendfile
- fix: add gthread to the list of supported workers (#1011)
- improvement: retry socket binding up to five times upon EADDRNOTAVAIL
(#1004) - breaking change: only honor headers that can be encoded in ascii to comply to
the RFC 7230 (See #1151).
Logging
- add new parameters to access log (#1132)
- fix: make sure that files handles are correctly reopenebd on HUP
(#627) - include request URL in error message (#1071)
- get username in access logs (#1069)
- fix statsd logging support on Python 3 (#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 (#1031)
Gevent worker
- fix quit signal handling (#1128)
- add support for Python 3 (#1066)
- fix: make graceful shutdown thread-safe (#1032)
Tornado worker
AIOHttp worker
- add SSL support (#1105)
Documentation
- fix link to proc name setting (#1144)
- fix worker class documentation (#1141, #1104)
- clarify graceful timeout documentation (#1137)
- don't duplicate NGINX config files examples (#1050, #1048)
- add
web.py
framework example (#1117) - update Debian/Ubuntu installations instructions (#1112)
- clarify
pythonpath
setting description (#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 (#1037)
Misc
- fix: reloader should survive SyntaxError (#994)
- fix: expose the reloader class to the worker.
Full changelog is available here: 19.3...19.4
More
You can find the documentation here:
http://docs.gunicorn.org/en/19.4/
Latest version is also available on Pypi:
https://pypi.python.org/pypi/gunicorn/19.4.0