2546 Commits

Author SHA1 Message Date
Randall Leeds
7beae54863
Merge pull request #1763 from hramezani/issue_1745
Improve `capture_output` setting documentation
2018-04-28 11:50:05 -07:00
Hasan Ramezani
b4b9b18f1a Improve capture_output setting documentation 2018-04-28 22:34:15 +04:30
Randall Leeds
325c6e53c3 Fix changelog typo 2018-04-28 00:54:43 -07:00
Randall Leeds
5050f2719a Regenerate settings documentation 2018-04-28 00:47:00 -07:00
Randall Leeds
68f42ef594 Update changelog 2018-04-28 00:45:32 -07:00
Randall Leeds
7fc0cb8844 Clean out 2017 changelog 2018-04-27 23:43:53 -07:00
Randall Leeds
ec9e885939
Merge pull request #1752 from alviezhang/master
Fix #1728 make TornadoWorker compatible with Tornado 5.X
2018-04-25 10:55:40 -07:00
alvie
d55d5713a5 make TornadoWorker compatible with Tornado 5.X 2018-04-23 17:17:02 +08:00
Randall Leeds
54e3b05e33
Merge pull request #1742 from ysymi/1739-optmize-logging-reopen-files
Optimize the reopen_files by using FileHandler's method: close & _open
2018-04-03 10:03:18 -07:00
ysymi
e8c65c1414 Optimize the reopen_files by using FileHandler's method: close & _open 2018-04-03 23:11:27 +08:00
Dmitry Dorofeev
dd78145132 Make WSGI app in run.rst Python 3 compatible (#1741)
Fixes #1737
2018-04-03 17:17:24 +03:00
Berker Peksag
01a1c7ca9a
Add an example for the raw_env setting
Refs #1472
2018-03-27 14:29:30 +03:00
Hugo
836b078752 Add PyPI badges to README (#1727) 2018-03-23 15:00:08 +03:00
Hugo
4371ff2ed4 Add python_requires to help pip 2018-03-19 10:14:05 +03:00
Bruno Alla
d1f5268b15 Add extras_require for various worker types (#1718)
Fixes #1717
2018-03-08 17:19:44 +03:00
ddzialak
9c8695b04f Avoid 'Connection refused' when using multithreaded gthread worker with keep-alive (#1699)
Fixes #1698
2018-03-01 13:55:48 +01:00
Randall Leeds
06e252f23e
Merge pull request #1705 from confiq/master
Better docs for statsd prefix
2018-02-20 11:01:57 -08:00
Edward Betts
fc64a43ec6 Correct spelling mistakes. 2018-02-19 22:00:41 +03:00
Benoit Chesneau
8e479865d5
Merge pull request #1708 from EdwardBetts/patch-1
Handle the case where module.__file__ is None.
2018-02-19 17:25:03 +01:00
Edward Betts
0f527a01f4
Handle the case where module.__file__ is None.
Fixes #1058
2018-02-19 12:42:41 +00:00
Igor Konforti
528d629806 link to more config added 2018-02-19 13:55:21 +02:00
Igor Konforti
aa9562624d less text is more... 2018-02-18 19:35:53 +02:00
Igor Konforti
992eaaac24 missing prefix for the statsd 2018-02-16 18:18:00 +02:00
Randall Leeds
d32f4ca325
Merge pull request #1651 from ant1g/fix/1645-gevent-handle_usr1
Make the gevent workers handle the usr1 signal by deferring to a new greenlet
2018-01-25 14:40:56 -08:00
Alexandre Conrad
34527aa3ba Temporarily disable code coverage reporting (#1685)
Closes #1662
2018-01-22 16:29:11 +03:00
Jacob Eiting
f12ef22281 Handle UnicodeDecodeError in _get_user() (#1684)
Fixes #1683
2018-01-18 04:29:25 +03:00
Berker Peksag
76eaa0805b Fix various warnings and errors reported by pylint 2018-01-11 09:59:31 +03:00
Berker Peksag
249783567f Drop prospector; use pylint directly
Fixes #1674
2018-01-11 09:59:31 +03:00
Randall Leeds
b07532be75 Forbid contradictory secure scheme headers
When a request specifies contradictory secure scheme headers, raise a
parse error.
2018-01-10 12:10:35 -08:00
Benoit Chesneau
5c92093219
Merge pull request #1672 from andywilco/avoid_issetugid
Avoid needlessly triggering true return from issetugid on MacOSX
2018-01-07 18:22:05 +01:00
Andy Wilcox
32992a88f9 Avoid needlessly triggering non-false return from issetugid on MacOSX 2018-01-03 08:15:17 -08:00
Martin Broadhurst
6171ac4885 Add --reuse-port to make use of SO_REUSEPORT optional (#1669)
Fixes #1603
2018-01-02 20:25:26 +03:00
YuppY
5953148573 Do not strip leading slash from path (#1511)
Fixes #1512
2017-12-28 11:32:47 +03:00
Antoine Girard
f8fd45c086 Make the eventlet workers handle the usr1 signal by deferring to a new eventlet 2017-12-17 10:04:22 +01:00
Randall Leeds
953bb9e8d8
Merge pull request #1664 from hramezani/test_to_bytestring_util
Add some tests for `to_bytestring` util
2017-12-11 12:01:41 -08:00
Hasan Ramezani
70fd6193f6 Add some tests for to_bytestring util 2017-12-11 22:50:06 +03:30
Randall Leeds
cb2f471831 Remove superfluous BytesIO allocation 2017-12-10 11:57:32 -08:00
Nicolas Le Manchet
ad44552a03 Fix access logs not emitted when using logconfig_dict
Fixes #1652
2017-12-01 22:42:23 +03:00
Antoine Girard
b9e27b4c6a Make the gevent workers handle the usr1 signal by deferring to a new greenlet 2017-11-27 18:39:13 +01:00
Juan Julián Merelo Guervós
6ba2ebe545 Make "failed to find application" more informative (#1648)
Co-Authored-By: Luis Liñán Villafranca <luislivilla@gmail.com>

Fixes #1647
2017-11-24 10:42:03 +03:00
Benoit Chesneau
120f503f68 fix eventlet worker boot
new version of eventlet uses an external process to check a feature at
runtime (monotonic). ut since gunicorn already installed a signal handler,
eventlet never get the return and then was raising a runtime error making the worker crash.

This patch fix it by patching the worker after it has been initialized
and the signals resetted.

fix #1584
2017-11-12 11:19:30 +01:00
Benoit Chesneau
61431d47f3
Merge pull request #1616 from closeio/fix-non-blocking-connected-socket
Force gevent connected socket to blocking mode
2017-11-12 10:49:35 +01:00
Berker Peksag
2dd7321c90
Deprecate gaiohttp worker and document alternatives (#1569)
Fixes #1338
2017-10-31 07:30:41 +03:00
Randall Leeds
0e63307a65
Merge pull request #1602 from benoitc/feature/1087-dict-config
Support Dictionary Config setting.
2017-10-30 10:38:57 -07:00
Randall Leeds
783c9bee3e Warn on Python < 2.7 for dictConfig 2017-10-29 21:44:10 -07:00
Randall Leeds
a7d4491a71 Fix up documentation for dictConfig 2017-10-29 21:43:41 -07:00
Randall Leeds
c5ae962dfa Add CLI option for dictionary log config 2017-10-29 21:43:26 -07:00
Mat Moore
9d7c857521 The logconfig_dict setting is not available on 2.6 2017-10-29 21:28:53 -07:00
Mat Moore
e6de1a07b4 Issue 1087: support dictConfig logging configuration 2017-10-29 21:28:53 -07:00
Randall Leeds
ccad26dd91
Merge pull request #1481 from benoitc/fix/1349-config-module-path
Set CWD and Python path before and after config
2017-10-28 11:02:14 -07:00