diff auto/modules @ 6695:060d71292b69

Stream: ssl_preread module. The ssl_preread module extracts information from the SSL Client Hello message without terminating SSL. Currently, only $ssl_preread_server_name variable is supported, which contains server name from the SNI extension.
author Vladimir Homutov <vl@nginx.com>
date Thu, 15 Sep 2016 14:56:51 +0300
parents 56fc55e32f23
children 57c8e12c460c
line wrap: on
line diff
--- a/auto/modules
+++ b/auto/modules
@@ -1120,6 +1120,16 @@ if [ $STREAM != NO ]; then
 
         . auto/module
     fi
+
+    if [ $STREAM_SSL_PREREAD = YES ]; then
+        ngx_module_name=ngx_stream_ssl_preread_module
+        ngx_module_deps=
+        ngx_module_srcs=src/stream/ngx_stream_ssl_preread_module.c
+        ngx_module_libs=
+        ngx_module_link=$STREAM_SSL_PREREAD
+
+        . auto/module
+    fi
 fi