mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge branch 'toby-sullivan-hs-disable-sendfile-fix'
This commit is contained in:
commit
5c98b3deb2
@ -820,14 +820,16 @@ class PreloadApp(Setting):
|
|||||||
class Sendfile(Setting):
|
class Sendfile(Setting):
|
||||||
name = "sendfile"
|
name = "sendfile"
|
||||||
section = "Server Mechanics"
|
section = "Server Mechanics"
|
||||||
cli = ["--sendfile"]
|
cli = ["--no-sendfile"]
|
||||||
validator = validate_bool
|
validator = validate_bool
|
||||||
action = "store_true"
|
action = "store_false"
|
||||||
default = True
|
default = True
|
||||||
desc = """\
|
desc = """\
|
||||||
Enables or disables the use of ``sendfile()``.
|
Disables the use of ``sendfile()``.
|
||||||
|
|
||||||
.. versionadded:: 19.2
|
.. versionadded:: 19.2
|
||||||
|
.. versionchanged:: 19.4
|
||||||
|
Swapped --sendfile with --no-sendfile to actually allow disabling
|
||||||
"""
|
"""
|
||||||
|
|
||||||
class Chdir(Setting):
|
class Chdir(Setting):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user