nginx/src
Maxim Dounin 7587778a33 Improved logging of invalid headers.
In 71edd9192f24 logging of invalid headers which were rejected with the
NGX_HTTP_PARSE_INVALID_HEADER error was restricted to just the "client
sent invalid header line" message, without any attempts to log the header
itself.

This patch returns logging of the header up to the invalid character and
the character itself.  The r->header_end pointer is now properly set
in all cases to make logging possible.

The same logging is also introduced when parsing headers from upstream
servers.
2021-06-28 18:01:20 +03:00
..
core Core: escaping of chars not allowed in URIs per RFC 3986. 2021-06-28 18:01:11 +03:00
event Core: added the ngx_rbtree_data() macro. 2021-06-21 09:42:43 +03:00
http Improved logging of invalid headers. 2021-06-28 18:01:20 +03:00
mail Mail: max_errors directive. 2021-05-19 03:13:31 +03:00
misc Cpp test: added stream. 2020-10-13 07:44:09 +03:00
os Fixed format strings for ngx_win32_version. 2021-06-18 04:00:21 +03:00
stream Stream: the "fastopen" parameter of the "listen" directive. 2021-05-20 19:59:16 +03:00