Skip to content

Commit 62d67ad

Browse files
committed
optimize: removed a duplidate ngx_memzero invocation in ngx_http_lua_reset_ctx. thanks jinglong.
1 parent 35c1fcd commit 62d67ad

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ngx_http_lua_util.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,8 +706,6 @@ ngx_http_lua_reset_ctx(ngx_http_request_t *r, lua_State *L,
706706
ngx_str_null(&ctx->exec_args);
707707

708708
ctx->co_op = 0;
709-
710-
ngx_memzero(&ctx->entry_co_ctx, sizeof(ngx_http_lua_co_ctx_t));
711709
}
712710

713711

0 commit comments

Comments
 (0)