# HG changeset patch # User Maxim Dounin <mdou...@mdounin.ru> # Date 1711920939 -10800 # Mon Apr 01 00:35:39 2024 +0300 # Node ID b9fa43195536cb6cd5744f929b89f44f79b338fb # Parent 5a0725cb366bc4c98c7e2e4af2f1d32d6a5d85a6 Documented max_commands in mail module.
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 @@ <module name="Module ngx_mail_core_module" link="/en/docs/mail/ngx_mail_core_module.html" lang="en" - rev="22"> + rev="23"> <section id="summary"> @@ -247,6 +247,22 @@ are specified. </directive> +<directive name="max_commands"> +<syntax><value>number</value></syntax> +<default>1000</default> +<context>mail</context> +<context>server</context> +<appeared-in>1.25.5</appeared-in> + +<para> +Sets the maximum number of commands allowed during authentication. +If the limit is reached and proxying to the backend is not started yet, +the connection is closed. +</para> + +</directive> + + <directive name="max_errors"> <syntax><value>number</value></syntax> <default>5</default> 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 @@ <module name="Модуль ngx_mail_core_module" link="/ru/docs/mail/ngx_mail_core_module.html" lang="ru" - rev="22"> + rev="23"> <section id="summary"> @@ -251,6 +251,22 @@ FreeBSD 9.0-STABLE) </directive> +<directive name="max_commands"> +<syntax><value>число</value></syntax> +<default>1000</default> +<context>mail</context> +<context>server</context> +<appeared-in>1.25.5</appeared-in> + +<para> +Задаёт максимальное количество комманд, допускаемое в процессе аутентификации. +Если ограничение достигнуто, а проксирование на бэкенд не началось, +соединение закрывается. +</para> + +</directive> + + <directive name="max_errors"> <syntax><value>число</value></syntax> <default>5</default> -- nginx-devel mailing list nginx-devel@freenginx.org https://freenginx.org/mailman/listinfo/nginx-devel