Mercurial > hg > nginx-ranges
changeset 419:cdd5890b5538
Postpone filter: don't skip subrequests.
When multiple subrequests are used without intermediate chains from main
request, postpone filter may skip some of the subrequests. Remove in-loop
microoptimization in ngx_http_postpone_filter_output_postpone() to handle
such situation properly.
Looks like it's impossible to trigger the problem with official nginx
modules.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 19 Sep 2008 04:31:53 +0400 |
parents | c65888a079bf |
children | 44a61c599bb2 |
files | src/http/ngx_http_postpone_filter_module.c |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_postpone_filter_module.c +++ b/src/http/ngx_http_postpone_filter_module.c @@ -190,13 +190,6 @@ ngx_http_postpone_filter_output_postpone if (rc == NGX_AGAIN || rc == NGX_ERROR) { return rc; } - - r->postponed = r->postponed->next; - pr = r->postponed; - } - - if (pr == NULL) { - break; } out = pr->out;