summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2013-03-20 10:36:57 +0000
committerValentin Bartenev <vbart@nginx.com>2013-03-20 10:36:57 +0000
commit2686cb44529462614a1846f29922bb68852dafb6 (patch)
treea46abd5e6cab450dbc23f220a424a296c0877e2b /auto/modules
parentcf64a6c5361b23f1aa182e50537ebb4c6c34c453 (diff)
downloadnginx-2686cb44529462614a1846f29922bb68852dafb6.tar.gz
nginx-2686cb44529462614a1846f29922bb68852dafb6.tar.bz2
Preliminary experimental support for SPDY draft 2.
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules19
1 files changed, 17 insertions, 2 deletions
diff --git a/auto/modules b/auto/modules
index 09923911a..a78e785e5 100644
--- a/auto/modules
+++ b/auto/modules
@@ -100,6 +100,7 @@ fi
# ngx_http_write_filter
# ngx_http_header_filter
# ngx_http_chunked_filter
+# ngx_http_spdy_filter
# ngx_http_range_header_filter
# ngx_http_gzip_filter
# ngx_http_postpone_filter
@@ -118,8 +119,13 @@ fi
HTTP_FILTER_MODULES="$HTTP_WRITE_FILTER_MODULE \
$HTTP_HEADER_FILTER_MODULE \
- $HTTP_CHUNKED_FILTER_MODULE \
- $HTTP_RANGE_HEADER_FILTER_MODULE"
+ $HTTP_CHUNKED_FILTER_MODULE"
+
+if [ $HTTP_SPDY = YES ]; then
+ HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_SPDY_FILTER_MODULE"
+fi
+
+HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_RANGE_HEADER_FILTER_MODULE"
if [ $HTTP_GZIP = YES ]; then
have=NGX_HTTP_GZIP . auto/have
@@ -179,6 +185,15 @@ if [ $HTTP_USERID = YES ]; then
HTTP_SRCS="$HTTP_SRCS $HTTP_USERID_SRCS"
fi
+
+if [ $HTTP_SPDY = YES ]; then
+ have=NGX_HTTP_SPDY . auto/have
+ USE_ZLIB=YES
+ HTTP_MODULES="$HTTP_MODULES $HTTP_SPDY_MODULE"
+ HTTP_DEPS="$HTTP_DEPS $HTTP_SPDY_DEPS"
+ HTTP_SRCS="$HTTP_SRCS $HTTP_SPDY_SRCS"
+fi
+
HTTP_MODULES="$HTTP_MODULES $HTTP_STATIC_MODULE"
if [ $HTTP_GZIP_STATIC = YES ]; then