]> granicus.if.org Git - apache/commit
Rewrite ap_rgetline to remove the need to have an "internal" brigade stored
authorJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 24 Jan 2002 23:59:51 +0000 (23:59 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 24 Jan 2002 23:59:51 +0000 (23:59 +0000)
commit03a94e64d8fa417ff9862fea1bb423500f743318
treeb057f8731e060b9a9c07c4a1f861d9c7cc3bccb6
parent55d73051357d236a826bb447f33329addcd6b4a4
Rewrite ap_rgetline to remove the need to have an "internal" brigade stored
in the core_module structure by using the AP_MODE_SPECULATIVE filter mode
to determine if MIME-continuation should occur.

Notes:
- ap_rgetline has a new prototype.
- ap_rgetline returns APR_ENOSPC when we are out of buffer space.

All direct callers of ap_rgetline are now adjusted to handle this new API.
ap_getline will mimic the old API for now.

Reviewed by: Ryan Morgan

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