[nginx] Resolver: allowed responses with AD bit set.

2024-06-15 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/ea0eef2dd12c branches: changeset: 9294:ea0eef2dd12c user: Kirill A. Korinsky date: Sun Jun 16 04:17:27 2024 +0300 description: Resolver: allowed responses with AD bit set. diffstat: src/core/ngx_resolver.c | 2 +- 1 files changed, 1 inse

[nginx] Version bump.

2024-06-15 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/22f6716fe23d branches: changeset: 9293:22f6716fe23d user: Maxim Dounin date: Sun Jun 16 04:15:43 2024 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 lines

[PATCH 1 of 4] Core: fixed ENOSPC handling for error logs

2024-06-15 Thread Maxim Dounin
# HG changeset patch # User Maxim Dounin # Date 1718501944 -10800 # Sun Jun 16 04:39:04 2024 +0300 # Node ID 1be15e0f5fe464710dd1a2d20cf4a3289149816c # Parent ea0eef2dd12c2d41349d63c532e942cf95fc4d7b Core: fixed ENOSPC handling for error logs. For each connection a new ngx_log_t structure i

[PATCH 0 of 4] error_log rate limiting

2024-06-15 Thread Maxim Dounin
Hello! The following patch series introduces error_log rate limiting, with the default rate limit set to 1000 messages per second (for each worker process). Rate limiting uses "leaky bucket" algorithm (as in the limit_req module) with burst set to a value proportional to the log message severity,

[PATCH 2 of 4] Core: moved ngx_log_set_levels() to a proper position

2024-06-15 Thread Maxim Dounin
# HG changeset patch # User Maxim Dounin # Date 1718501946 -10800 # Sun Jun 16 04:39:06 2024 +0300 # Node ID 70b8d952a8a8398b485b9bcb14582164d8e7b697 # Parent 1be15e0f5fe464710dd1a2d20cf4a3289149816c Core: moved ngx_log_set_levels() to a proper position. Previous order is an artifact from t

[PATCH 3 of 4] Core: simplified log levels matching

2024-06-15 Thread Maxim Dounin
# HG changeset patch # User Maxim Dounin # Date 1718501950 -10800 # Sun Jun 16 04:39:10 2024 +0300 # Node ID dc678c5dbd83fb80bca6a5ce388f5f64d2752a84 # Parent 70b8d952a8a8398b485b9bcb14582164d8e7b697 Core: simplified log levels matching. diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c

[PATCH 4 of 4] Core: error logging rate limiting

2024-06-15 Thread Maxim Dounin
# HG changeset patch # User Maxim Dounin # Date 1718501953 -10800 # Sun Jun 16 04:39:13 2024 +0300 # Node ID b96ac0999e5734664189b16052a2147f546b2303 # Parent dc678c5dbd83fb80bca6a5ce388f5f64d2752a84 Core: error logging rate limiting. With this change, error logging to files can be rate-lim

[PATCH] Documented $r->log_error() logging level

2024-06-15 Thread Maxim Dounin
# HG changeset patch # User Maxim Dounin # Date 1718393731 -10800 # Fri Jun 14 22:35:31 2024 +0300 # Node ID 23b9cbb0c11de936ca3bca0c1c67528f7ba0fd51 # Parent 7b7dbaa7d777cd8cacaebb177d76559f84736b94 Documented $r->log_error() logging level. diff --git a/xml/en/docs/http/ngx_http_perl_modul

[PATCH] Documented the "rate" parameter of the "error_log" directive

2024-06-15 Thread Maxim Dounin
# HG changeset patch # User Maxim Dounin # Date 1718510130 -10800 # Sun Jun 16 06:55:30 2024 +0300 # Node ID 27532d42102bb58bff34ca3f2b7020a8c1634786 # Parent 23b9cbb0c11de936ca3bca0c1c67528f7ba0fd51 Documented the "rate" parameter of the "error_log" directive. diff --git a/xml/en/docs/ngx_