2606 Commits

Author SHA1 Message Date
刘金俭
59bf81cb58 Remove unnecessary call to dict keys method 2018-09-24 10:31:28 -07:00
Randall Leeds
e179dc2575 Support str and bytes for UNIX socket addresses (#1882)
Some systems report UNIX socket addresses as bytes while others will
report it as a unicode string type. This patch improves socket type
detection code to support both.

Fix #1861
2018-09-24 08:57:53 +02:00
Pritam Baral
30554fdb4f InotifyReloader: Handle module.__file__ is None
0f527a01f4 added a fix for the case when some modules have the `__file__` attr set to `None`, for the polling reloader. Unfortunately, it missed making the same fix for the inotify reloader.

This change copies that fix into InotifyReloader
2018-09-17 11:24:17 -07:00
Ciaran Courtney
0ce857fced [closes #1863] Docs: Add /dev/shm as a convenient alternative to making your own tmpfs mount in fchmod FAQ (#1873) 2018-09-06 00:50:35 +02:00
Hugo
a8b5718146 Update THANKS
For https://github.com/benoitc/gunicorn/pull/1764.
2018-09-04 13:45:27 +03:00
Benoit Chesneau
91974f0f44 Merge branch 'pr-1724' 2018-09-04 12:19:30 +02:00
Benoit Chesneau
c16abf922e fix example to work on python3
* fix longpoll example

* fix websocket example

* fix django example

* fix flask exampl
2018-09-04 12:18:05 +02:00
Benoit Chesneau
33162d190f fix broken redirection 2018-09-03 09:14:56 +02:00
Benoit Chesneau
8bc11ff632
use https for docs 2018-09-02 18:10:05 +02:00
Q_back
ab7541f767 Fixed jQuery not using https
Page stopped working on new browsers 
https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content

Blocked loading mixed active content “http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js”[Learn More]
gunicorn.org
Loading failed for the <script> with source “http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js”. gunicorn.org:182
[Show/hide message details.] ReferenceError: $ is not defined[Learn More]
2018-08-31 12:01:59 -07:00
Michael Bishop
ec3c1dbd94 Fix typo in --max-requests documentation (#1845) 2018-08-01 21:47:57 +03:00
Hugo
e974f30517 Drop support for Python 2
Co-Authored-By: Dustin Ingram <di@users.noreply.github.com>
Co-Authored-By: Berker Peksag <berker.peksag@gmail.com>
2018-08-01 15:31:17 +03:00
Michael Bishop
2ff595a02b "work" -> "worker" 2018-07-31 13:55:57 -07:00
Hugo
78208c8c32 Drop support for EOL Python 3.2 and 3.3 (#1839) 2018-07-29 14:07:36 +03:00
7
cdd147841a Clear tornado ioloop before os.fork (#1831) 2018-07-21 13:38:04 -07:00
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
3e265d4319 Regenerate settings documentation 2018-07-03 13:02:41 -07:00
Randall Leeds
c7c0f9db76 Update changelog 2018-07-03 13:00:31 -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
Randall Leeds
f0c54993ca Merge branch 'W7PEA-patch-2' 2018-06-17 13:20:00 -07:00
Randall Leeds
7891310d80 Use consistent style in nginx.conf 2018-06-17 13:19:42 -07:00
Randall Leeds
101f2da922 Merge branch 'patch-2' of https://github.com/W7PEA/gunicorn into W7PEA-patch-2 2018-06-17 13:18: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
7
a64d712f7a Remove duplicated sections under Settings (#1804)
Fixes #1798
2018-06-10 02:46:41 +03:00
Diego Oliveira
e81a946900 Merge branch 'master' of https://github.com/benoitc/gunicorn into 1795-rename-async-module 2018-06-09 10:40:09 -03:00
Diego Oliveira
d338fe16f8 Fix comment about python version 2018-06-09 10:36:46 -03:00
Diego Oliveira
45fe8d1199 Upgrade pytest and pytest-cov plugin (#1799) 2018-06-04 12:23:51 +03:00
Berker Peksag
07dc716700
markup tweaks 2018-06-03 18:35:23 +03:00
Diego Oliveira
72dde4336d Fix style issues and revert some unrelated changes 2018-06-03 11:38:39 -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
Randall Leeds
ba4b927ae5
Merge pull request #1794 from fgimian/fix/1793-correct-streams-in-default-log-config
Ensured that default logging streams are prefixed with ext:// so they work correctly
2018-05-24 15:58:05 -07: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
Patrick
9cf5b13f93 Labeled the name of the file in the sample (#1782)
The sample as-is was not clear about what file the configuration was to go in. 
This sample is to go into nginx.conf, but nginx as of 20180516 has
nginx.conf + conf.f/default.conf. This sample overrides all that into the single
file so being specific is better.
2018-05-19 11:29:13 +03:00
Patrick
66ec021291
All good
… final edits.
2018-05-19 00:54:48 -07:00
Patrick
a80052e66a
Changes based on feedback
I also changed the location for access.log
2018-05-19 00:01:05 -07:00
Randall Leeds
d348430611
Merge pull request #1787 from yunstanford/fix-logging-zero-byt
fixing zero bytes case in atoms access log
2018-05-18 16:02:01 -07:00
Yun Xu
bf40617140 remove .cache in gitignore 2018-05-18 15:08:52 -07:00
Yun Xu
712b1ab779 update gitignore and remove .cache 2018-05-18 13:18:48 -07:00
Yun Xu
0af5641117 fixing zero bytes case in atoms access log 2018-05-18 13:15:03 -07:00
Patrick
a047d4f23f
Pid and Logging changes
PID didn't work at all on Ubuntu 16.04 with the provided sample, my commented out change does, also added logging change to conform to what is out of the box.
2018-05-16 12:11:18 -07:00
Randall Leeds
587dc630cc
Merge pull request #1762 from hugovk/ignore-.pytest_cache
Ignore .pytest_cache
2018-05-06 20:00:41 -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