httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: httpd-2.0/server protocol.c
Date Wed, 17 Apr 2002 21:16:32 GMT
On Tue, Apr 16, 2002 at 05:43:09AM -0000, jerenkrantz@apache.org wrote:
> jerenkrantz    02/04/15 22:43:09
> 
>   Modified:    .        CHANGES STATUS
>                include  http_protocol.h
>                modules/http http_protocol.c
>                server   protocol.c
>   Log:
>   Adds support for reading trailers on input by exporting get_mime_headers
>   to ap_get_mime_headers and calling it in the appropriate place in
>   ap_http_filter.

Adding a new API should be a minor bump in ap_mmn.h. That keeps third-party
modules compatible, but also allows them to test for the presence of the new
function at compile time. For example:

#if MODULE_MAGIC_NUMBER_MINOR >= 1
    ...
    ap_get_mime_headers(...)
    ...
#endif


Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message