# HG changeset patch # User Yaroslav Zhuravlev # Date 1621943580 -3600 # Node ID 6d082b4709187a442743f6daed3928bec76a8000 # Parent 00afc7c4d4dfdcfcf0b3b60e580e8d6cf7c784a6 Documented "listen fastopen=" parameter in stream. diff -r 00afc7c4d4df -r 6d082b470918 xml/en/docs/stream/ngx_stream_core_module.xml --- a/xml/en/docs/stream/ngx_stream_core_module.xml Thu May 20 19:56:08 2021 +0300 +++ b/xml/en/docs/stream/ngx_stream_core_module.xml Tue May 25 12:53:00 2021 +0100 @@ -9,7 +9,7 @@ + rev="34">
@@ -82,6 +82,7 @@ [ssl] [udp] [proxy_protocol] + [fastopen=number] [backlog=number] [rcvbuf=size] [sndbuf=size] @@ -153,6 +154,24 @@ +fastopen=number + + +enables +“TCP Fast Open” +for the listening socket (1.21.0) and +limits +the maximum length for the queue of connections that have not yet completed +the three-way handshake. + +Do not enable this feature unless the server can handle +receiving the + +same SYN packet with data more than once. + + + + backlog=number diff -r 00afc7c4d4df -r 6d082b470918 xml/ru/docs/stream/ngx_stream_core_module.xml --- a/xml/ru/docs/stream/ngx_stream_core_module.xml Thu May 20 19:56:08 2021 +0300 +++ b/xml/ru/docs/stream/ngx_stream_core_module.xml Tue May 25 12:53:00 2021 +0100 @@ -9,7 +9,7 @@ + rev="34">
@@ -82,6 +82,7 @@ [ssl] [udp] [proxy_protocol] + [fastopen=число] [backlog=число] [rcvbuf=размер] [sndbuf=размер] @@ -154,6 +155,24 @@ +fastopen=число + + +включает +“TCP Fast Open” +для слушающего сокета (1.21.0) и +ограничивает +максимальную длину очереди соединений, которые ещё не завершили процесс +three-way handshake. + +Не включайте “TCP Fast Open”, не убедившись, что сервер может адекватно +обрабатывать многократное получение + +одного и того же SYN-пакета с данными. + + + + backlog=число