Mercurial > hg > ngx_http_compose_filter_module
view config @ 6:27628b3310ab
Better handle absence of controlling headers.
Don't do any processing if there is no X-Compose headers. If there is no
X-Compose-Length, clear content length and disallow ranges.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 24 Jul 2008 02:39:59 +0400 |
parents | 4d9427b61191 |
children |
line wrap: on
line source
# (C) Maxim Dounin # Configuration for ngx_http_compose_filter_module. ngx_addon_name="ngx_http_compose_filter_module" if [ $HTTP_POSTPONE != YES ]; then echo "$0: error: $ngx_addon_name requires postpone filter" echo " either configure with ssi or with addition modules" exit 1 fi HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES \ ngx_http_compose_filter_module" HTTP_RANGE_BODY_FILTER_MODULE="$HTTP_RANGE_BODY_FILTER_MODULE \ ngx_http_compose_body_filter_module" NGX_ADDON_SRCS="$NGX_ADDON_SRCS \ $ngx_addon_dir/ngx_http_compose_filter_module.c"