mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
Slice filter: log the expected range in case of range error.
This commit is contained in:
parent
57d54fd922
commit
47f862ffad
1 changed files with 2 additions and 2 deletions
|
|
@ -165,8 +165,8 @@ ngx_http_slice_header_filter(ngx_http_request_t *r)
|
|||
|
||||
if (cr.start != ctx->start || cr.end != end) {
|
||||
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
|
||||
"unexpected range in slice response: %O-%O",
|
||||
cr.start, cr.end);
|
||||
"unexpected range in slice response: %O-%O, "
|
||||
"expected: %O-%O", cr.start, cr.end, ctx->start, end);
|
||||
return NGX_ERROR;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue