T N
6ad3d3c22c
Update docs links ( #1592 )
2017-09-16 17:46:19 +03:00
Ed Morley
9e3dbd59c6
Enable CI testing on Windows using Appveyor
...
Currently everything but the prospector lint job fails, however having
CI set up makes it easier to see what work remains for #524 .
Fixes #1467 .
2017-09-07 16:53:02 +03:00
Benoit Chesneau
c171c15c63
Merge pull request #1578 from rslinckx/master
...
http/message: Split request line as bytes to avoid splitting on 0x0A. Fixes #1577
2017-09-02 16:10:22 +02:00
Raphaël Slinckx
15e901a5e5
http/message: Split request line as bytes to avoid splitting on 0x0A. Fixes #1577
2017-08-25 10:50:34 +02:00
Raphaël Slinckx
ccfb29871c
tests: Fix send_bytes for testing requests
2017-08-25 10:44:00 +02:00
Benoit Chesneau
60efb1041e
Merge pull request #1528 from hramezani/redirect_accesslog_issue_1403
...
Redirect accesslog issue 1403
2017-08-22 21:17:59 +02:00
Hasan Ramezani
919871d656
Add disable-redirect-access-to-syslog documentation.
2017-08-22 22:43:59 +04:30
Hasan Ramezani
7dc9003dff
Add disable-redirect-access-to-syslog config
2017-08-22 22:43:30 +04:30
Alexandre Conrad
92afaa5ce8
pin coverage>=4.0,<4.4 ( #1571 )
2017-08-22 11:44:32 +03:00
Tuukka Mustonen
0e4e0779e6
doc: Notes about worker keepalive support
2017-08-09 18:05:08 +03:00
Randall Leeds
fc0d973416
Merge pull request #1547 from guj-zz/syslog_socktype
...
parse_syslog_addr sock_type default
2017-08-06 23:37:55 -07:00
tomjaguarpaw
fc1e7a8262
Remove redundant "is not None" in gunicorn/app/wsgiapp.py ( #1558 )
2017-08-01 13:56:49 +03:00
tomjaguarpaw
c77df25a84
Remove redundant "is not None" in gunicorn/app/base.py ( #1557 )
2017-08-01 13:54:35 +03:00
tomjaguarpaw
cf401982fd
Remove redundant "is not None" in gunicorn/http/wsgi.py ( #1556 )
2017-08-01 13:51:19 +03:00
Randall Leeds
9507ae4a09
Merge pull request #1551 from tomjaguarpaw/patch-1
...
Remove redundant 'is not None'
2017-07-26 15:05:40 -07:00
tomjaguarpaw
4f11708542
Remove redundant 'is not None'
2017-07-22 20:05:55 +01:00
zz
5b0ae52c8a
Merge remote-tracking branch 'origin/master' into syslog_socktype
2017-07-17 07:48:44 +02:00
Berker Peksag
56ef7710dd
Fix a silly error introduced by 2407dd29a6b44e96150d48ac12d0d16be2506725
2017-07-14 02:42:28 +03:00
Berker Peksag
2407dd29a6
select.error is a subclass of OSError since Python 3.3
2017-07-12 18:07:16 +03:00
Berker Peksag
610596c9d9
Pass log.info() formatted values correctly
...
It should be
log.info("%s", "spam")
not
log.info("%s" % "spam")
2017-07-12 18:07:16 +03:00
Berker Peksag
2b7b63ae58
Test that os.kill() is called
2017-07-12 18:07:16 +03:00
Berker Peksag
b64c7fa305
Add # noqa to a false-positive for unused-import warning
2017-07-12 18:07:16 +03:00
Berker Peksag
f00fb441ca
Remove unused variables
2017-07-12 18:07:16 +03:00
Berker Peksag
f859447a39
Update prospector configuration
...
* Disable pep8 and pyflakes
* Disable unnecessary options of pylint
2017-07-12 18:07:16 +03:00
Berker Peksag
dd7c8f330b
list.pop() doesn't accept a second argument
...
This was introduced by 032271a030a6bbe39d22e9ebadf2a86ddf3b6705.
2017-07-12 17:48:23 +03:00
Benno Rice
f69c17f8e2
Unlock pylint as prospector now works with >=1.7. Use Python 3.6 for lint.
2017-07-12 16:36:50 +03:00
Benno Rice
0d11691718
Ensure that overriding methods match the signature they've overriden.
2017-07-12 16:34:28 +03:00
Benno Rice
20616d50fc
Move a default class definition into an else block so we're not redefining.
2017-07-12 16:26:04 +03:00
Benno Rice
a4461ba158
RequestParser takes two parameters.
2017-07-12 16:17:50 +03:00
Benno Rice
e81c654c2d
__str__ doesn't take any extra parameters.
2017-07-12 16:17:26 +03:00
Benno Rice
1f42421762
Fix a broken format string.
2017-07-12 16:16:40 +03:00
Benno Rice
e6edcb454a
Remove some errant trailing commas.
2017-07-12 16:16:10 +03:00
Benno Rice
032271a030
Empty sequences are false, there's no need to check the len.
2017-07-12 16:15:42 +03:00
Benno Rice
5b89fe1beb
Don't use a list comprehension as shorthand for a for loop.
2017-07-12 16:14:57 +03:00
Benno Rice
72dd0199d7
Deal fully with deprecated functions.
...
If possible use a function based on inspect.signature to calculate the
arity. If inspect.signature is not available fall back to getargspec. The
version based on inspect.signature looks like more code but is actually a
subset of what inspect.getfullargspec does.
html.escape is preferred over cgi.escape primarily because it defaults quote
to True. For this reason pass quote=True to cgi.escape when used.
2017-07-12 16:14:09 +03:00
Peter VandeHaar
fc7c15abbd
Only use inotify on linux ( #1541 )
...
Fixes #1540
2017-07-12 12:55:48 +03:00
Nejc Saje
c58560b895
Document selection of 'gthread' worker if sync && threads > 1
...
The current documentation makes a reader believe that the setting is ignored if the worker type is not Gthread. That is not the case since if the worker is `sync`, a `threads` setting of > 1 sets the worker type to `gthread`.
I know this was probably done to support running gunicorn as `gunicorn --threads=4` and actually have threads even though the default worker is `sync`, but it can be confusing if running `gunicorn --worker-class sync --threads 4` and expecting the parameter will be ignored.
2017-07-07 16:01:16 +03:00
zz
af92742143
parse_syslog_address: unix domain socket type default None, since SOCK_STREAM may not be appropriate
2017-06-19 13:03:11 +02:00
Berker Peksag
9eea021ac8
Regenerate settings.rst to add --reload-engine
2017-06-16 14:04:34 +03:00
Berker Peksag
ca053a5fe1
Add versionadded directive to reload_extra_files
2017-06-16 14:02:55 +03:00
Randall Leeds
5426b04a7a
Merge pull request #1527 from garbas/reload-extra-files
...
new --reload-extra-file option
2017-06-14 16:15:33 -07:00
Rok Garbas
f736909c5d
--reload-extra-file option
2017-06-15 00:46:47 +02:00
Berker Peksag
6b44263f77
Don't install pylint 1.7 due to a backwards imcompatible change
2017-04-15 00:55:13 +03:00
Berker Peksag
70947bb96a
Skip test if WSGIServerHttpProtocol isn't available
2017-04-15 00:55:13 +03:00
JM Fernández
68260c6883
Fix "TypeError: 'OSError' object is not subscriptable" in py3
2017-04-14 04:15:38 +03:00
Randall Leeds
328e509260
Release version 19.7.1
2017-03-20 20:02:55 -07:00
Randall Leeds
b5fb32498d
Update THANKS
2017-03-20 12:16:50 -07:00
Randall Leeds
c33367f8c7
update changelog for 19.7.1
2017-03-20 12:04:15 -07:00
Randall Leeds
ef53d02ad0
Merge pull request #1483 from benoitc/fix/1480-reuse-port-fail
...
Catch errors setting SO_REUSEPORT
2017-03-20 11:55:28 -07:00
Randall Leeds
15408a357f
Catch errors setting SO_REUSEPORT
...
Fix #1480
2017-03-15 22:14:39 -07:00