Add a versionadded directive to the sendfile documentation.

This commit is contained in:
Berker Peksag 2014-10-20 20:17:30 +03:00
parent 2f226acda4
commit c152ce0dd0
2 changed files with 13 additions and 1 deletions

View File

@ -293,6 +293,16 @@ speed up server boot times. Although, if you defer application loading
to each worker process, you can reload your application code easily by
restarting workers.
sendfile
~~~~~~~~
* ``--sendfile``
* ``True``
Enables or disables the use of ``sendfile()``.
.. versionadded:: 19.2
chdir
~~~~~

View File

@ -824,7 +824,9 @@ class Sendfile(Setting):
action = "store_true"
default = True
desc = """\
Enables or disables the use of sendfile().
Enables or disables the use of ``sendfile()``.
.. versionadded:: 19.2
"""
class Chdir(Setting):