Skip to content

Commit 9fa316f

Browse files
committed
tweak: updated the debug log in 'ngx_http_lua_socket_tcp_conn_op_ctx_cleanup()' to align with the meta_lua module.
1 parent ba182dd commit 9fa316f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/ngx_http_lua_socket_tcp.c

+5-3
Original file line numberDiff line numberDiff line change
@@ -4012,9 +4012,11 @@ ngx_http_lua_socket_tcp_conn_op_ctx_cleanup(void *data)
40124012
ngx_http_lua_socket_tcp_conn_op_ctx_t *conn_op_ctx = data;
40134013

40144014
u = conn_op_ctx->u;
4015-
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, u->request->connection->log, 0,
4016-
"cleanup lua tcp socket conn_op_ctx: \"%V\"",
4017-
&u->request->uri);
4015+
4016+
ngx_log_debug3(NGX_LOG_DEBUG_HTTP, u->request->connection->log, 0,
4017+
"cleanup lua tcp socket conn_op_ctx: %p, u: %p, "
4018+
"request: \"%V\"",
4019+
conn_op_ctx, u, &u->request->uri);
40184020

40194021
ngx_queue_insert_head(&u->socket_pool->cache_connect_op,
40204022
&conn_op_ctx->queue);

0 commit comments

Comments
 (0)