joes 2004/06/20 10:09:58
Modified: env mod_apreq.c
Log:
apreq_filter will instantiate cfg->req if necessary: no need for
apreq_filter_init to do it also.
Revision Changes Path
1.51 +0 -4 httpd-apreq-2/env/mod_apreq.c
Index: mod_apreq.c
===================================================================
RCS file: /home/cvs/httpd-apreq-2/env/mod_apreq.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- mod_apreq.c 20 Jun 2004 17:08:13 -0000 1.50
+++ mod_apreq.c 20 Jun 2004 17:09:58 -0000 1.51
@@ -378,8 +378,6 @@
if (f != r->proto_input_filters) {
if (f == r->input_filters) {
cfg->f = f;
- if (cfg->req == NULL)
- apreq_request(r ,NULL);
return APR_SUCCESS;
}
for (in = r->input_filters; in != r->proto_input_filters;
@@ -396,8 +394,6 @@
/* move to top and register it */
apreq_filter_relocate(f);
cfg->f = f;
- if (cfg->req == NULL)
- apreq_request(r ,NULL);
}
return APR_SUCCESS;
}