# HG changeset patch # User Yaroslav Zhuravlev # Date 1492085353 -10800 # Node ID 351cefd5ff9c5c512b3e979e126305b9bda3c7a9 # Parent abc05dc025d95b87f7319c3143b165c8fb1c6595 Documented rcvbuf and sndbuf for mail and stream listen directive. diff --git a/xml/en/docs/mail/ngx_mail_core_module.xml b/xml/en/docs/mail/ngx_mail_core_module.xml --- a/xml/en/docs/mail/ngx_mail_core_module.xml +++ b/xml/en/docs/mail/ngx_mail_core_module.xml @@ -10,7 +10,7 @@ + rev="10">
@@ -79,6 +79,8 @@ mail { address:port [ssl] [backlog=number] + [rcvbuf=size] + [sndbuf=size] [bind] [ipv6only=on|off] [so_keepalive=on|off|[keepidle]:[keepintvl]:[keepcnt]] @@ -137,6 +139,22 @@ and to 511 on other platforms. +rcvbuf=size + + +sets the receive buffer size +(the SO_RCVBUF option) for the listening socket (1.11.13). + + + +sndbuf=size + + +sets the send buffer size +(the SO_SNDBUF option) for the listening socket (1.11.13). + + + bind diff --git a/xml/en/docs/stream/ngx_stream_core_module.xml b/xml/en/docs/stream/ngx_stream_core_module.xml --- a/xml/en/docs/stream/ngx_stream_core_module.xml +++ b/xml/en/docs/stream/ngx_stream_core_module.xml @@ -9,7 +9,7 @@ + rev="23">
@@ -84,6 +84,8 @@ stream { [udp] [proxy_protocol] [backlog=number] + [rcvbuf=size] + [sndbuf=size] [bind] [ipv6only=on|off] [reuseport] @@ -150,6 +152,22 @@ and to 511 on other platforms. +rcvbuf=size + + +sets the receive buffer size +(the SO_RCVBUF option) for the listening socket (1.11.13). + + + +sndbuf=size + + +sets the send buffer size +(the SO_SNDBUF option) for the listening socket (1.11.13). + + + bind diff --git a/xml/ru/docs/mail/ngx_mail_core_module.xml b/xml/ru/docs/mail/ngx_mail_core_module.xml --- a/xml/ru/docs/mail/ngx_mail_core_module.xml +++ b/xml/ru/docs/mail/ngx_mail_core_module.xml @@ -10,7 +10,7 @@ + rev="10">
@@ -79,6 +79,8 @@ mail { адрес:порт [ssl] [backlog=число] + [rcvbuf=размер] + [sndbuf=размер] [bind] [ipv6only=on|off] [so_keepalive=on|off|[keepidle]:[keepintvl]:[keepcnt]] @@ -136,6 +138,22 @@ FreeBSD, DragonFly BSD и macOS, и 511 для других платформ. +rcvbuf=размер + + +задаёт размер буфера приёма +(параметр SO_RCVBUF) для слушающего сокета (1.11.13). + + + +sndbuf=размер + + +задаёт размер буфера передачи +(параметр SO_SNDBUF) для слушающего сокета (1.11.13). + + + bind diff --git a/xml/ru/docs/stream/ngx_stream_core_module.xml b/xml/ru/docs/stream/ngx_stream_core_module.xml --- a/xml/ru/docs/stream/ngx_stream_core_module.xml +++ b/xml/ru/docs/stream/ngx_stream_core_module.xml @@ -9,7 +9,7 @@ + rev="23">
@@ -84,6 +84,8 @@ stream { [udp] [proxy_protocol] [backlog=число] + [rcvbuf=размер] + [sndbuf=размер] [bind] [ipv6only=on|off] [reuseport] @@ -151,6 +153,22 @@ FreeBSD, DragonFly BSD и macOS, +rcvbuf=размер + + +задаёт размер буфера приёма +(параметр SO_RCVBUF) для слушающего сокета (1.11.13). + + + +sndbuf=размер + + +задаёт размер буфера передачи +(параметр SO_SNDBUF) для слушающего сокета (1.11.13). + + + bind