summaryrefslogtreecommitdiff
path: root/src/waitress/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/waitress/runner.py')
-rw-r--r--src/waitress/runner.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/waitress/runner.py b/src/waitress/runner.py
index 4fb3e6b..c23ca0e 100644
--- a/src/waitress/runner.py
+++ b/src/waitress/runner.py
@@ -169,6 +169,12 @@ Tuning options:
The use_poll argument passed to ``asyncore.loop()``. Helps overcome
open file descriptors limit. Default is False.
+ --channel-request-lookahead=INT
+ Allows channels to stay readable and buffer more requests up to the
+ given maximum even if a request is already being processed. This allows
+ detecting if a client closed the connection while its request is being
+ processed. Default is 0.
+
"""
RUNNER_PATTERN = re.compile(