changeset 3:4d9427b61191

Require postpone filter to be configured.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 21 Jul 2008 05:16:44 +0400
parents ed63d0bd4d14
children 37c6f2e0f278
files config
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/config	Tue Jul 15 06:12:40 2008 +0400
+++ b/config	Mon Jul 21 05:16:44 2008 +0400
@@ -3,6 +3,12 @@
 
 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"