diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49768-4.patch')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49768-4.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49768-4.patch b/meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49768-4.patch new file mode 100644 index 0000000000..11c9dd4ccd --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-waitress/CVE-2024-49768-4.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From c516dad4f749d1b1b1c675680a76c1f6d2523857 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Delta Regeer <bertjw@regeer.org> | ||
| 3 | Date: Sat, 26 Oct 2024 22:22:32 -0600 | ||
| 4 | Subject: [PATCH] Add documentation for channel_request_lookahead | ||
| 5 | |||
| 6 | CVE: CVE-2024-49768 | ||
| 7 | Upstream-Status: Backport [https://github.com/Pylons/waitress/commit/810a435f9e9e293bd3446a5ce2df86f59c4e7b1b] | ||
| 8 | Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 9 | --- | ||
| 10 | docs/arguments.rst | 14 ++++++++++++++ | ||
| 11 | 1 file changed, 14 insertions(+) | ||
| 12 | |||
| 13 | diff --git a/docs/arguments.rst b/docs/arguments.rst | ||
| 14 | index f9b9310..ba1797a 100644 | ||
| 15 | --- a/docs/arguments.rst | ||
| 16 | +++ b/docs/arguments.rst | ||
| 17 | @@ -301,3 +301,17 @@ url_prefix | ||
| 18 | be stripped of the prefix. | ||
| 19 | |||
| 20 | Default: ``''`` | ||
| 21 | + | ||
| 22 | +channel_request_lookahead | ||
| 23 | + Sets the amount of requests we can continue to read from the socket, while | ||
| 24 | + we are processing current requests. The default value won't allow any | ||
| 25 | + lookahead, increase it above ``0`` to enable. | ||
| 26 | + | ||
| 27 | + When enabled this inserts a callable ``waitress.client_disconnected`` into | ||
| 28 | + the environment that allows the task to check if the client disconnected | ||
| 29 | + while waiting for the response at strategic points in the execution and to | ||
| 30 | + cancel the operation. | ||
| 31 | + | ||
| 32 | + Default: ``0`` | ||
| 33 | + | ||
| 34 | + .. versionadded:: 2.0.0 | ||
