view config @ 7:88272d0f29f9

Make sure upstream's status line won't be reused. Range filter may change status to 206 Partial Content, but if we got status line from upstream this won't have any effect on status sent to client. Clear r->status_line when enabling range filter.
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 20 Sep 2008 03:49:24 +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"