Skip to content

Commit 01647c6

Browse files
committed
Update bug fixed
1 parent b2dd320 commit 01647c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ngx_http_c_func_module.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -921,8 +921,6 @@ ngx_http_c_func_process_t_handler(void *data, ngx_log_t *log)
921921
ngx_http_c_func_loc_conf_t *lcf = ngx_http_get_module_loc_conf(r, ngx_http_c_func_module);
922922

923923
if (internal_ctx == NULL) {
924-
internal_ctx->rc = NGX_HTTP_INTERNAL_SERVER_ERROR;
925-
internal_ctx->processing = 0;
926924
ngx_log_error(NGX_LOG_EMERG, r->connection->log, 0, "error while processing worker thread process");
927925
return;
928926
}
@@ -1099,6 +1097,7 @@ ngx_http_c_func_precontent_handler(ngx_http_request_t *r) {
10991097
}
11001098

11011099
#if (NGX_THREADS)
1100+
internal_ctx->processing = 1;
11021101
ngx_thread_pool_t *tp;
11031102
ngx_http_core_loc_conf_t *clcf;
11041103

0 commit comments

Comments
 (0)