openresty / meta-lua-nginx-module

Meta Lua Nginx Module supporting both Http Lua Module and Stream Lua Module
66 stars 20 forks source link

stream lua module should require at least nginx 1.13.6 #39

Closed agentzh closed 6 years ago

agentzh commented 6 years ago

Let's do this in meta lua module for the stream version:

diff --git a/src/ngx_stream_lua_common.h b/src/ngx_stream_lua_common.h
index f727943..8bb7503 100644
--- a/src/ngx_stream_lua_common.h
+++ b/src/ngx_stream_lua_common.h
@@ -43,8 +43,8 @@
 #endif

-#if !defined(nginx_version) || (nginx_version < 1006000)
-#error at least nginx 1.6.0 is required but found an older version
+#if !defined(nginx_version) || (nginx_version < 1013006)
+#error at least nginx 1.13.6 is required but found an older version
 #endif