We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4ba1c2 commit 810a435Copy full SHA for 810a435
docs/arguments.rst
@@ -314,3 +314,17 @@ url_prefix
314
be stripped of the prefix.
315
316
Default: ``''``
317
+
318
+channel_request_lookahead
319
+ Sets the amount of requests we can continue to read from the socket, while
320
+ we are processing current requests. The default value won't allow any
321
+ lookahead, increase it above ``0`` to enable.
322
323
+ When enabled this inserts a callable ``waitress.client_disconnected`` into
324
+ the environment that allows the task to check if the client disconnected
325
+ while waiting for the response at strategic points in the execution and to
326
+ cancel the operation.
327
328
+ Default: ``0``
329
330
+ .. versionadded:: 2.0.0
0 commit comments