Skip to content

Commit c618d0d

Browse files
committed
bugfix: fixed compilation errors encountered with ngx_stream_lua due to a recent commit.
A follow-up commit to 39c2ead.
1 parent 881bf91 commit c618d0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ngx_http_lua_module.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -986,9 +986,12 @@ ngx_http_lua_create_srv_conf(ngx_conf_t *cf)
986986
* lscf->balancer.src_key = NULL;
987987
*/
988988

989+
#if (NGX_HTTP_SSL)
989990
lscf->srv.ssl_cert_src_ref = LUA_REFNIL;
990991
lscf->srv.ssl_sess_store_src_ref = LUA_REFNIL;
991992
lscf->srv.ssl_sess_fetch_src_ref = LUA_REFNIL;
993+
#endif
994+
992995
lscf->balancer.src_ref = LUA_REFNIL;
993996

994997
return lscf;

0 commit comments

Comments
 (0)