Mercurial > hg > nginx
comparison src/http/modules/ngx_http_uwsgi_module.c @ 7933:2f443cac3f1e
Upstream: fixed logging level of upstream invalid header errors.
In b87b7092cedb (nginx 1.21.1), logging level of "upstream sent invalid
header" errors was accidentally changed to "info". This change restores
the "error" level, which is a proper logging level for upstream-side
errors.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 18 Oct 2021 16:46:59 +0300 |
parents | 419c066cb710 |
children | 8b7a96fdd54c |
comparison
equal
deleted
inserted
replaced
7932:01829d162095 | 7933:2f443cac3f1e |
---|---|
1361 return NGX_AGAIN; | 1361 return NGX_AGAIN; |
1362 } | 1362 } |
1363 | 1363 |
1364 /* rc == NGX_HTTP_PARSE_INVALID_HEADER */ | 1364 /* rc == NGX_HTTP_PARSE_INVALID_HEADER */ |
1365 | 1365 |
1366 ngx_log_error(NGX_LOG_INFO, r->connection->log, 0, | 1366 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, |
1367 "upstream sent invalid header: \"%*s\\x%02xd...\"", | 1367 "upstream sent invalid header: \"%*s\\x%02xd...\"", |
1368 r->header_end - r->header_name_start, | 1368 r->header_end - r->header_name_start, |
1369 r->header_name_start, *r->header_end); | 1369 r->header_name_start, *r->header_end); |
1370 | 1370 |
1371 return NGX_HTTP_UPSTREAM_INVALID_HEADER; | 1371 return NGX_HTTP_UPSTREAM_INVALID_HEADER; |