1633 Commits

Author SHA1 Message Date
7
7d0787cd1a Fix linting for Pylint 2.0 (#1833)
Closes #1832
2018-07-18 19:33:09 +03:00
Randall Leeds
29f0394cdd Release version 19.9.0 2018-07-03 13:09:09 -07:00
Randall Leeds
bd833e0009
Merge pull request #1796 from diegoholiveira/1795-rename-async-module
1795 rename async module
2018-06-17 13:22:31 -07:00
Justin Turner Arthur
d21310351f Optimize by precompiling regex and using tuple for iterable copies. 2018-06-17 09:51:48 +03:00
Diego Oliveira
557b91964c Merge branch 'master' into 1795-rename-async-module 2018-06-12 18:16:31 -03:00
Berker Peksag
21f0adc346
Fix AttributeError when --reload was not passed (#1806)
Fixes #1805
2018-06-11 22:04:08 +03:00
Diego Oliveira
d338fe16f8 Fix comment about python version 2018-06-09 10:36:46 -03:00
Diego Oliveira
5a82e7c068 Change _async to base_async 2018-05-26 17:11:33 -03:00
Diego Oliveira
43e31c366b Fix gaiohttp worker 2018-05-26 10:42:15 -03:00
Diego Oliveira
0a88d19ddf Move the module async to _async 2018-05-26 10:22:42 -03:00
Fotis Gimian
5ee2ede35c Ensured that default logging streams are prefixed with ext:// so they work correctly 2018-05-24 14:58:27 +10:00
Yun Xu
0af5641117 fixing zero bytes case in atoms access log 2018-05-18 13:15:03 -07:00
Berker Peksag
473ac62a2b Revert "Add test and update documentation"
This reverts commit eab1256052d7446359fb6f65279f9bebd18fafd4.
2018-05-06 18:10:53 +03:00
Berker Peksag
9320811f32 Fix markup in --log-syslog docs 2018-05-06 18:09:33 +03:00
Berker Peksag
eab1256052 Add test and update documentation 2018-05-06 18:05:54 +03:00
Rudolph Froger
d48b600239 Fix AttributeError when --log-syslog is passed (#1773)
Config option `disable_access_log_redirection` does not exist.
This was introduced in 7dc9003dff149e29c0af4d409060d34f9a7775fa.

Fixes #1768
2018-05-06 18:04:40 +03:00
Christian Kreuzberger
f2b8b687e2 Fix for #1755: Decode remote addr if it is a byte 2018-05-02 11:52:34 +02:00
Randall Leeds
73cc860ead Release version 19.8.1 2018-04-30 11:37:09 -07:00
Randall Leeds
b9c4f893ad Fix secure scheme headers for UNIX sockets 2018-04-30 11:11:44 -07:00
Randall Leeds
255c05ae8b Release version 19.8.0 2018-04-28 11:53:26 -07:00
Hasan Ramezani
b4b9b18f1a Improve capture_output setting documentation 2018-04-28 22:34:15 +04:30
alvie
d55d5713a5 make TornadoWorker compatible with Tornado 5.X 2018-04-23 17:17:02 +08:00
ysymi
e8c65c1414 Optimize the reopen_files by using FileHandler's method: close & _open 2018-04-03 23:11:27 +08: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
Edward Betts
fc64a43ec6 Correct spelling mistakes. 2018-02-19 22:00:41 +03:00
Edward Betts
0f527a01f4
Handle the case where module.__file__ is None.
Fixes #1058
2018-02-19 12:42:41 +00: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
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
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
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
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
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
Hasan Ramezani
90b7daebb6 Fix invalid auto_int value error when --umask=0 passed (#1632)
Fixes #1622
2017-10-28 10:48:23 +03:00
Randall Leeds
89e364977a Set CWD and Python path before and after config
The config may be specified as a Python module, in which case we want
to ensure that the Python path is fixed up properly before we try to
load it. That means we should follow symlinks and add the current working
directory before and after the configuration is loaded.

Fix #1349
2017-10-26 19:50:06 -07:00