Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-07-14 20:01:42 +0400
committerIgor Sysoev <igor@sysoev.ru>2004-07-14 20:01:42 +0400
commit7823cc3b0d263530ed4590d27ee4d1fe12dca0dc (patch)
treedeefa1b73d160085ae87c6f887298c8b95051e6b /auto
parent846c27b2acc5f6bf942bab0d8c3b5e653b9513b4 (diff)
nginx-0.0.7-2004-07-14-20:01:42 import
Diffstat (limited to 'auto')
-rw-r--r--auto/modules35
-rw-r--r--auto/sources4
2 files changed, 28 insertions, 11 deletions
diff --git a/auto/modules b/auto/modules
index 0ef27f838..e03bd20ff 100644
--- a/auto/modules
+++ b/auto/modules
@@ -41,7 +41,33 @@ if [ $TEST_BUILD_RTSIG = YES ]; then
fi
+# the filter order is important
+# ngx_http_write_filter
+# ngx_http_ssl_filter
+# ngx_http_header_filter
+# ngx_http_chunked_filter
+# ngx_http_range_header_filter
+# ngx_http_gzip_filter
+# ngx_http_charset_filter
+# ngx_http_ssi_filter
+# ngx_http_headers_filter
+# ngx_http_copy_filter
+# ngx_http_range_body_filter
+# ngx_http_not_modified_filter
+
+HTTP_FILTER_MODULES="$HTTP_WRITE_FILTER_MODULE"
+
+if [ $HTTP_SSL = YES ]; then
+ have=NGX_HTTP_SSL . auto/have
+ HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_SSL_FILTER_MODULE"
+ HTTP_DEPS="$HTTP_DEPS $HTTP_SSL_DEPS"
+ HTTP_SRCS="$HTTP_SRCS $HTTP_SSL_SRCS"
+ # STUB: move to auto/libs/ssl
+ CORE_LIBS="$CORE_LIBS -lssl -lcrypto"
+fi
+
HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES \
+ $HTTP_HEADER_FILTER_MODULE \
$HTTP_CHUNKED_FILTER_MODULE \
$HTTP_RANGE_HEADER_FILTER_MODULE"
@@ -58,15 +84,6 @@ if [ $HTTP_CHARSET = YES ]; then
HTTP_SRCS="$HTTP_SRCS $HTTP_CHARSET_SRCS"
fi
-if [ $HTTP_SSL = YES ]; then
- have=NGX_HTTP_SSL . auto/have
- HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_SSL_FILTER_MODULE"
- HTTP_DEPS="$HTTP_DEPS $HTTP_SSL_DEPS"
- HTTP_SRCS="$HTTP_SRCS $HTTP_SSL_SRCS"
- # STUB: move to auto/libs/ssl
- CORE_LIBS="$CORE_LIBS -lssl -lcrypto"
-fi
-
if [ $HTTP_SSI = YES ]; then
have=NGX_HTTP_SSI . auto/have
HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_SSI_FILTER_MODULE"
diff --git a/auto/sources b/auto/sources
index 511893b30..71dab3c0f 100644
--- a/auto/sources
+++ b/auto/sources
@@ -190,8 +190,8 @@ HTTP_MODULES="ngx_http_module \
HTTP_FILE_CACHE_MODULE=ngx_http_cache_module
-HTTP_FILTER_MODULES="ngx_http_write_filter_module \
- ngx_http_header_filter_module"
+HTTP_WRITE_FILTER_MODULE="ngx_http_write_filter_module"
+HTTP_HEADER_FILTER_MODULE="ngx_http_header_filter_module"
HTTP_CHUNKED_FILTER_MODULE=ngx_http_chunked_filter_module
HTTP_HEADERS_FILTER_MODULE=ngx_http_headers_filter_module