httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: Writing new module for Apache 2.0
Date Wed, 20 Nov 2002 12:33:02 GMT
"Prajakt Deolasee" <pdeolasee@in.firstrain.com> writes:

> static void xyz_register_hook(apr_pool_t *p)
> {
> 	xyz_hook_response_handler(ap_xyz_response_handler, NULL, NULL, APR_HOOK_REALLY_LAST);
> }
...
> But this function is never called. Can somebody tell me whats wrong with this.

If you hook it really last then you've hooked it *after* whichever
hook is going to handle it, and subsequent hooks won't be called.

Hook it REALLY_FIRST.

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message