Skip to content

Commit

Permalink
synced to 148e41d.
Browse files Browse the repository at this point in the history
  • Loading branch information
dndx committed Aug 16, 2017
1 parent 20a6186 commit 0153872
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/ngx_stream_lua_sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ void
ngx_stream_lua_sleep_handler(ngx_event_t *ev)
{

#if (NGX_DEBUG)


ngx_connection_t *c;


#endif


ngx_stream_lua_request_t *r;
ngx_stream_lua_ctx_t *ctx;
Expand All @@ -115,6 +123,14 @@ ngx_stream_lua_sleep_handler(ngx_event_t *ev)
r = coctx->data;


#if (NGX_DEBUG)


c = r->connection;


#endif


ctx = ngx_stream_lua_get_module_ctx(r, ngx_stream_lua_module);

Expand Down
16 changes: 16 additions & 0 deletions src/ngx_stream_lua_socket_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,14 @@ ngx_stream_lua_socket_resolve_handler(ngx_resolver_ctx_t *ctx)
ngx_stream_lua_request_t *r;


#if (NGX_DEBUG)


ngx_connection_t *c;


#endif


ngx_stream_upstream_resolved_t *ur;
ngx_stream_lua_ctx_t *lctx;
Expand All @@ -800,6 +808,14 @@ ngx_stream_lua_socket_resolve_handler(ngx_resolver_ctx_t *ctx)
r = u->request;


#if (NGX_DEBUG)


c = r->connection;


#endif


ur = u->resolved;

Expand Down
16 changes: 16 additions & 0 deletions src/ngx_stream_lua_socket_udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,14 @@ ngx_stream_lua_socket_resolve_handler(ngx_resolver_ctx_t *ctx)
ngx_stream_lua_request_t *r;


#if (NGX_DEBUG)


ngx_connection_t *c;


#endif


ngx_stream_upstream_resolved_t *ur;
ngx_stream_lua_ctx_t *lctx;
Expand All @@ -449,6 +457,14 @@ ngx_stream_lua_socket_resolve_handler(ngx_resolver_ctx_t *ctx)
r = u->request;


#if (NGX_DEBUG)


c = r->connection;


#endif


ur = u->resolved;

Expand Down

0 comments on commit 0153872

Please sign in to comment.