]> git.kaiwu.me - nginx.git/commit
Range filter: only initialize ctx->ranges in main request.
authorhucongcong <hucong.c@foxmail.com>
Thu, 10 Nov 2016 02:44:52 +0000 (10:44 +0800)
committerhucongcong <hucong.c@foxmail.com>
Thu, 10 Nov 2016 02:44:52 +0000 (10:44 +0800)
commit8f8a07f0801ea3a297bebe1ad9b25fcfcc278509
tree8e2d1a6f70f60df39d514e7a78de85c66fa8fe08
parent42298aeb13040cc94026a2d405726895fb19b1e0
Range filter: only initialize ctx->ranges in main request.

It is not necessary to initialize ctx->ranges in all request, because
ctx->ranges in subrequest will be reassigned to ctx->ranges of main
request.
src/http/modules/ngx_http_range_filter_module.c