]> granicus.if.org Git - apache/commit
core: fix ap_request_core_filter()'s brigade lifetime.
authorYann Ylavic <ylavic@apache.org>
Tue, 30 Jan 2018 00:58:54 +0000 (00:58 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 30 Jan 2018 00:58:54 +0000 (00:58 +0000)
commit106d0761c06ac39bdc16d139d356eebc83a8ff62
tree09beda559927102e00ab4be1e158ca58ec053d0f
parent7fa2267d94367c44ed663b4a88572ef8b81d9ee2
core: fix ap_request_core_filter()'s brigade lifetime.

The filter should pass everything up to and including EOR, then bail out.
For EOR it can't use a brigade created on r->pool, so retain one created
on c->pool in c->notes (this avoids leaking a brigades for each request
on the same connection).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822596 13f79535-47bb-0310-9956-ffa450edef68
server/request.c
server/util_filter.c