Skip to content

Commit c2f4dda

Browse files
committed
trivial optimizations.
1 parent 66c4533 commit c2f4dda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ngx_http_lua_socket_tcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2200,7 +2200,7 @@ ngx_http_lua_socket_tcp_handler(ngx_event_t *ev)
22002200
ctx = c->log->data;
22012201
ctx->current_request = r;
22022202

2203-
ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
2203+
ngx_log_debug3(NGX_LOG_DEBUG_HTTP, c->log, 0,
22042204
"lua tcp socket handler for \"%V?%V\", wev %d", &r->uri,
22052205
&r->args, (int) ev->write);
22062206

src/ngx_http_lua_socket_udp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ ngx_http_lua_socket_udp_handler(ngx_event_t *ev)
12971297
ctx = c->log->data;
12981298
ctx->current_request = r;
12991299

1300-
ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
1300+
ngx_log_debug3(NGX_LOG_DEBUG_HTTP, c->log, 0,
13011301
"lua udp socket handler for \"%V?%V\", wev %d", &r->uri,
13021302
&r->args, (int) ev->write);
13031303

0 commit comments

Comments
 (0)