Skip to content

Commit b68d7b4

Browse files
committed
bugfix: fixed compilation warnings when http ssl module is disabled in the nginx build. this regression had appeared in commit c226a00.
1 parent a22a409 commit b68d7b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ngx_http_lua_balancer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@ struct ngx_http_lua_balancer_peer_data_s {
3636
};
3737

3838

39+
#if (NGX_HTTP_SSL)
3940
static ngx_int_t ngx_http_lua_balancer_set_session(ngx_peer_connection_t *pc,
4041
void *data);
4142
static void ngx_http_lua_balancer_save_session(ngx_peer_connection_t *pc,
4243
void *data);
44+
#endif
4345
static ngx_int_t ngx_http_lua_balancer_init(ngx_conf_t *cf,
4446
ngx_http_upstream_srv_conf_t *us);
4547
static ngx_int_t ngx_http_lua_balancer_init_peer(ngx_http_request_t *r,

0 commit comments

Comments
 (0)