Skip to content

Commit 52d5dd5

Browse files
committed
bugfix: fixed compilation errors with nginx 1.11.2+ due to recent changes in the ngx_stream_module_t struct of the nginx core.
1 parent 9224773 commit 52d5dd5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/ngx_stream_lua_module.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@ static ngx_command_t ngx_stream_lua_commands[] = {
304304

305305

306306
static ngx_stream_module_t ngx_stream_lua_module_ctx = {
307+
#if (nginx_version >= 1011002)
308+
NULL, /* preconfiguration */
309+
#endif
307310
ngx_stream_lua_init, /* postconfiguration */
308311

309312
ngx_stream_lua_create_main_conf, /* create main configuration */

0 commit comments

Comments
 (0)