diff options
| author | Daniel Vasquez Lopez <dvasquezl@nvidia.com> | 2024-11-21 14:27:07 -0800 |
|---|---|---|
| committer | Roman Arutyunyan <arutyunyan.roman@gmail.com> | 2025-01-16 21:09:59 +0400 |
| commit | 47f862ffad6a7068100d50887c495f80973ca47b (patch) | |
| tree | 80f9d0a8c1d09c455f25aaf9d8a631ba9f32542f /src | |
| parent | 57d54fd922e7ecbebb78598d13adc9df1a4b69c0 (diff) | |
| download | nginx-47f862ffad6a7068100d50887c495f80973ca47b.tar.gz nginx-47f862ffad6a7068100d50887c495f80973ca47b.tar.bz2 | |
Slice filter: log the expected range in case of range error.
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/modules/ngx_http_slice_filter_module.c | 4 |
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; } |
