diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 2 | ||||
| -rw-r--r-- | docs/arguments.rst | 4 | ||||
| -rw-r--r-- | docs/runner.rst | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/docs/api.rst b/docs/api.rst index 5e0a523..70c174c 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -5,6 +5,6 @@ .. module:: waitress -.. function:: serve(app, listen='0.0.0.0:8080', unix_socket=None, unix_socket_perms='600', threads=4, url_scheme='http', url_prefix='', ident='waitress', backlog=1204, recv_bytes=8192, send_bytes=18000, outbuf_overflow=104856, inbuf_overflow=52488, connection_limit=1000, cleanup_interval=30, channel_timeout=120, log_socket_errors=True, max_request_header_size=262144, max_request_body_size=1073741824, expose_tracebacks=False) +.. function:: serve(app, listen='0.0.0.0:8080', unix_socket=None, unix_socket_perms='600', threads=4, url_scheme='http', url_prefix='', ident='waitress', backlog=1204, recv_bytes=8192, send_bytes=1, outbuf_overflow=104856, inbuf_overflow=52488, connection_limit=1000, cleanup_interval=30, channel_timeout=120, log_socket_errors=True, max_request_header_size=262144, max_request_body_size=1073741824, expose_tracebacks=False) See :ref:`arguments` for more information. diff --git a/docs/arguments.rst b/docs/arguments.rst index 2665087..8bacc44 100644 --- a/docs/arguments.rst +++ b/docs/arguments.rst @@ -190,7 +190,9 @@ send_bytes Linux, ``/proc/sys/net/ipv4/tcp_wmem`` controls the minimum, default, and maximum sizes of TCP write buffers. - Default: ``18000`` + Default: ``1`` + + .. deprecated:: 1.3 outbuf_overflow A tempfile should be created if the pending output is larger than diff --git a/docs/runner.rst b/docs/runner.rst index fc424ad..0b61307 100644 --- a/docs/runner.rst +++ b/docs/runner.rst @@ -143,9 +143,11 @@ Tuning options: 8192. ``--send-bytes=INT`` - Number of bytes to send to socket.send(). Default is 18000. + Number of bytes to send to socket.send(). Default is 1. Multiples of 9000 should avoid partly-filled TCP packets. + .. deprecated:: 1.3 + ``--outbuf-overflow=INT`` A temporary file should be created if the pending output is larger than this. Default is 1048576 (1MB). |
