Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

no longer pfree the upstream chain bufs.

  • Loading branch information...
commit 2b10da5469ac087fa7ea30097b3f02c04feac682 1 parent 517f1fb
@agentzh agentzh authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  ngx_http_eval_module.c
View
2  ngx_http_eval_module.c
@@ -872,10 +872,12 @@ ngx_http_eval_discard_bufs(ngx_pool_t *pool, ngx_chain_t *in)
ngx_chain_t *cl;
for (cl = in; cl; cl = cl->next) {
+#if 0
if (cl->buf->temporary && cl->buf->memory
&& ngx_buf_size(cl->buf) > 0) {
ngx_pfree(pool, cl->buf->start);
}
+#endif
cl->buf->pos = cl->buf->last;
}
Please sign in to comment.
Something went wrong with that request. Please try again.