Mercurial > hg > nginx-ranges
comparison src/http/ngx_http_request.h @ 391:1d9bef53cd8e
Range filter: late_ranges functionality.
Add one more filtering point after postpone filter. This allows to serve
range capable replies with subrequests. It's not as efficient as range
filtering for static data (i.e. doesn't save us from reading data from
disk if some filter needs them in memory), but it may save some network
bandwidth for us and for our users.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 21 Jul 2008 05:33:01 +0400 |
parents | 6de24473fa70 |
children | 77df96611112 |
comparison
equal
deleted
inserted
replaced
390:a5f67d82aea3 | 391:1d9bef53cd8e |
---|---|
477 | 477 |
478 unsigned main_filter_need_in_memory:1; | 478 unsigned main_filter_need_in_memory:1; |
479 unsigned filter_need_in_memory:1; | 479 unsigned filter_need_in_memory:1; |
480 unsigned filter_need_temporary:1; | 480 unsigned filter_need_temporary:1; |
481 unsigned allow_ranges:1; | 481 unsigned allow_ranges:1; |
482 unsigned late_ranges:1; | |
482 | 483 |
483 #if (NGX_STAT_STUB) | 484 #if (NGX_STAT_STUB) |
484 unsigned stat_reading:1; | 485 unsigned stat_reading:1; |
485 unsigned stat_writing:1; | 486 unsigned stat_writing:1; |
486 #endif | 487 #endif |