httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "César Leonardo Blum Silveira" <cesa...@gmail.com>
Subject Re: Fixups running twice
Date Wed, 16 Jan 2008 01:01:13 GMT
I figured it out already. A redirect was causing that behaviour.

On Jan 15, 2008 10:43 PM, César Leonardo Blum Silveira
<cesarbs@gmail.com> wrote:
> Hello,
>
> I have written two test modules which only write messages to the
> error_log. I have the following fixups on them:
>
> mod_mod1.c:
>
> static int mod1_fixups(request_rec *r) {
>     ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "mod1_fixups");
>     return OK;
> }
>
> mod_mod2.c:
>
> static int mod1_fixups(request_rec *r) {
>     ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, "mod1_fixups");
>     return OK;
> }
>
> For some reason which I still don't know, those fixups are being run
> twice per request:
>
> [Tue Jan 15 22:41:07 2008] [error] [client 127.0.0.1] mod1_fixups
> [Tue Jan 15 22:41:07 2008] [error] [client 127.0.0.1] mod2_fixups
> [Tue Jan 15 22:41:07 2008] [error] [client 127.0.0.1] mod1_fixups
> [Tue Jan 15 22:41:07 2008] [error] [client 127.0.0.1] mod2_fixups
>
> Is that the normal fixups behaviour?
>
> Thank you,
>
> --
> César L. B. Silveira
>



-- 
César L. B. Silveira

Mime
View raw message