Skip to content

Commit

Permalink
added a code comment that clarify the use of the logic in ngx_chain_u…
Browse files Browse the repository at this point in the history
…pdate_chains.
  • Loading branch information
agentzh committed May 8, 2014
1 parent 001f8a8 commit f67e11c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ngx_http_replace_filter_module.c
Expand Up @@ -590,6 +590,10 @@ ngx_http_replace_output(ngx_http_request_t *r, ngx_http_replace_ctx_t *ctx)

rc = ngx_http_next_body_filter(r, ctx->out);

/* we are essentially duplicating the logic of
* ngx_chain_update_chains below,
* with our own optimizations */

if (ctx->busy == NULL) {
ctx->busy = ctx->out;

Expand Down

0 comments on commit f67e11c

Please sign in to comment.