Skip to content

Commit 6cbcf5e

Browse files
author
Tuure Vartiainen
committed
This reverts commit 01055ca
1 parent 01055ca commit 6cbcf5e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/ngx_http_lua_ssl_certby.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -535,10 +535,7 @@ ngx_http_lua_ssl_cert_by_chunk(lua_State *L, ngx_http_request_t *r)
535535
rc = ngx_http_lua_run_thread(L, r, ctx, 0);
536536

537537
if (rc == NGX_ERROR || rc >= NGX_OK) {
538-
/* copy ctx->exit_code to cctx->exit_code */
539-
if (ctx->exited) {
540-
cctx->exit_code = ctx->exit_code;
541-
}
538+
/* do nothing */
542539
} else if (rc == NGX_AGAIN) {
543540
rc = ngx_http_lua_content_run_posted_threads(L, r, ctx, 0);
544541

0 commit comments

Comments
 (0)