Skip to content

Commit ae46a84

Browse files
committed
refactoring remove parallel subrequest feature
1 parent 933c1db commit ae46a84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ngx_link_func_module.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ static char *ngx_http_link_func_init_method(ngx_conf_t *cf, ngx_command_t *cmd,
159159
#if (nginx_version > 1013003)
160160
static char *ngx_http_link_func_subrequest_cmd(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
161161
// static ngx_int_t ngx_http_link_func_subreqest_parallel_done(ngx_http_request_t *r, void *data, ngx_int_t rc);
162-
static ngx_int_t ngx_http_link_func_subreqest_done(ngx_http_request_t *r, void *data, ngx_int_t rc);
162+
static ngx_int_t ngx_http_link_func_subrequest_done(ngx_http_request_t *r, void *data, ngx_int_t rc);
163163
static ngx_int_t ngx_http_link_func_process_subrequest(ngx_http_request_t *r, ngx_http_link_func_subreq_conf_t *subreq, ngx_http_link_func_internal_ctx_t *ctx);
164164
#endif
165165
static ngx_int_t ngx_http_link_func_content_handler(ngx_http_request_t *r);
@@ -1109,7 +1109,7 @@ ngx_http_link_func_after_process(ngx_event_t *ev) {
11091109
// return rc;
11101110
// }
11111111
static ngx_int_t
1112-
ngx_http_link_func_subreqest_done(ngx_http_request_t *r, void *data, ngx_int_t rc) {
1112+
ngx_http_link_func_subrequest_done(ngx_http_request_t *r, void *data, ngx_int_t rc) {
11131113
ngx_http_link_func_internal_ctx_t *ctx = data;
11141114
ngx_uint_t status = r->headers_out.status;
11151115

@@ -1155,7 +1155,7 @@ ngx_http_link_func_process_subrequest(ngx_http_request_t *r, ngx_http_link_func_
11551155
ctx->status_check = 1;
11561156
}
11571157

1158-
ps->handler = ngx_http_link_func_subreqest_done;
1158+
ps->handler = ngx_http_link_func_subrequest_done;
11591159
ctx->subreq_sequential_wait_cnt++;
11601160
rc = NGX_DONE;
11611161

0 commit comments

Comments
 (0)