Mercurial > hg > nginx
comparison src/event/ngx_event_timer.h @ 8071:017fd847f4f7
Log only the first line of user input on PROXY protocol v1 error.
Previously, all received user input was logged. If a multi-line text was
received from client and logged, it could reduce log readability and also make
it harder to parse nginx log by scripts. The change brings to PROXY protocol
the same behavior that exists for HTTP request line in
ngx_http_log_error_handler().
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 10 Oct 2022 13:57:31 +0400 |
parents | 3069dd358ba2 |
children |
comparison
equal
deleted
inserted
replaced
8070:ba5cf8f73a2d | 8071:017fd847f4f7 |
---|