From a4f14f90eaacf7c6483b11e2e05025c004ce9f6f Mon Sep 17 00:00:00 2001 From: alonbg Date: Thu, 15 Sep 2016 18:13:11 +0300 Subject: [PATCH] minor --- src/ngx_stream_lua_socket_tcp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ngx_stream_lua_socket_tcp.c b/src/ngx_stream_lua_socket_tcp.c index d401d845..2743f4c5 100644 --- a/src/ngx_stream_lua_socket_tcp.c +++ b/src/ngx_stream_lua_socket_tcp.c @@ -143,9 +143,8 @@ static void ngx_stream_lua_ssl_handshake_handler(ngx_connection_t *c); static int ngx_stream_lua_ssl_free_session(lua_State *L); #endif static void ngx_stream_lua_socket_tcp_close_connection(ngx_connection_t *c); -#if (NGX_HAVE_TRANSPARENT_PROXY) static void ngx_stream_lua_inject_socket_option_consts(lua_State *L); -#endif + enum { SOCKET_CTX_INDEX = 1,