]> granicus.if.org Git - apache/commit
Make ap_add_filter use a LIFO stack instead of a FIFO queue to add filters
authorRyan Bloom <rbb@apache.org>
Thu, 17 Aug 2000 00:50:34 +0000 (00:50 +0000)
committerRyan Bloom <rbb@apache.org>
Thu, 17 Aug 2000 00:50:34 +0000 (00:50 +0000)
commitfbcf521483dfa81e696d1a60cc34011cbecd3067
tree3389058bbf55ecf60b7b239357190d91d9c4fa61
parent8c30c026e6f5ddc364e3517d3bce96f430e6517e
Make ap_add_filter use a LIFO stack instead of a FIFO queue to add filters
to the filter stack.  This makes the chunking filter work.  Without this,
the core_filter is installed in the insert_filters hook, when we get
to the ap_send_http_headers function, we insert the chunking filter, but
it has been installed after the core_filter.  This means the chunk_filter
is never called.

This reverses this.  The core_filter is installed in the insert_filters
hook, and we put the chunk_filter in during ap_send_http_headers.  This
time, the chunking filter is installed before the core_filter, and it
gets called correctly.

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