]> 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)
commit3e7b9dc9f6b5720e2f06597069f352e1871fc962
treed694fa5eed22861fac0e131398a26579ca234f2c
parentd0c43b26f680d910cf57abae941ebd1487ef27eb
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