httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Wilson <and...@aaaaaaaa.demon.co.uk>
Subject Re: hook to an API function on fork()
Date Fri, 16 Aug 1996 23:03:09 GMT
Alexei:
> On Fri, 16 Aug 1996, Andrew Wilson wrote:
> > I extended the current API to add a hook in send_http_headers which
> > was keyed off a 'magic type' that get shoehorned into the module's
> > published handler structure:
> > 
> >     handler_rec mod_cern_meta_extended_api_handlers[] = {
> >     { "BEFORE_SEND_HTTP_HEADER", add_cern_meta_data },
> >     { NULL }
> >     };
> > 
> >     [don't get confused by this, I'm overloading the semantics of
> >     handler_rec, specifically the type 'BEFORE_SEND_HTTP_HEADER'
> >     doesn't have anything to do with the mime type of the resource
> >     being requested, and using this technique the addition is
> >     transparent to the 'normal' operation of the server.]
> 
> This is a Bad Idea.

Ah, so that's why.

Ay.

Mime
View raw message