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 Fixups running twice
Date Wed, 16 Jan 2008 00:43:37 GMT
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

Mime
View raw message