]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Switch ap_http_filter to use ap_get_brigade and apr_brigade_flatten
authorJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 18 Apr 2002 22:50:54 +0000 (22:50 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 18 Apr 2002 22:50:54 +0000 (22:50 +0000)
commit1826f624eb6167c5aab7d4bb877ec67a02cc43e7
treed694fa5eed22861fac0e131398a26579ca234f2c
parent5f46ab55e551f737a0753b457a6a30e4e703926a
Switch ap_http_filter to use ap_get_brigade and apr_brigade_flatten
instead of ap_getline - this prevents some odd looping issues that
can cause problems.

Also, when we call get_mime_headers to read the trailers, we need
to reset our ctx->state to BODY_NONE - there should only be MIME-header
information (followed by a blank CRLF line) - and we don't know
how much data there will be - so it is by definition BODY_NONE.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94704 13f79535-47bb-0310-9956-ffa450edef68
modules/http/http_protocol.c