Skip to content

Commit ec130fe

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

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
@@ -132,7 +132,7 @@ typedef struct {
132132
ngx_int_t rc;
133133
#if (nginx_version > 1013003)
134134
ngx_uint_t subreq_curr_index;
135-
ngx_uint_t subreq_parallel_wait_cnt;
135+
// ngx_uint_t subreq_parallel_wait_cnt;
136136
ngx_uint_t subreq_sequential_wait_cnt;
137137
ngx_flag_t status_check;
138138
#endif
@@ -1233,9 +1233,9 @@ ngx_http_link_func_precontent_handler(ngx_http_request_t *r) {
12331233
}
12341234

12351235
if ( internal_ctx->status_code && internal_ctx->rc == NGX_CONF_UNSET) {
1236-
if ( !internal_ctx->subreq_parallel_wait_cnt) {
1236+
// if ( !internal_ctx->subreq_parallel_wait_cnt) {
12371237
ngx_http_finalize_request(r, internal_ctx->status_code);
1238-
}
1238+
// }
12391239
return NGX_DONE;
12401240
}
12411241

0 commit comments

Comments
 (0)