summaryrefslogtreecommitdiffhomepage
path: root/src/http
diff options
context:
space:
mode:
authorDaniel Vasquez Lopez <dvasquezl@nvidia.com>2024-11-21 14:27:07 -0800
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>2025-01-16 21:09:59 +0400
commit47f862ffad6a7068100d50887c495f80973ca47b (patch)
tree80f9d0a8c1d09c455f25aaf9d8a631ba9f32542f /src/http
parent57d54fd922e7ecbebb78598d13adc9df1a4b69c0 (diff)
downloadnginx-47f862ffad6a7068100d50887c495f80973ca47b.tar.gz
nginx-47f862ffad6a7068100d50887c495f80973ca47b.tar.bz2
Slice filter: log the expected range in case of range error.
Diffstat (limited to 'src/http')
-rw-r--r--src/http/modules/ngx_http_slice_filter_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_slice_filter_module.c b/src/http/modules/ngx_http_slice_filter_module.c
index 186380a2f..3b0bef629 100644
--- a/src/http/modules/ngx_http_slice_filter_module.c
+++ b/src/http/modules/ngx_http_slice_filter_module.c
@@ -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;
}