Changelog

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

19.4.1 / 2015/11/25

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

Tornado worker

AIOHttp worker

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.