dougm 02/03/09 16:09:52
Modified: src/modules/perl mod_perl.c modperl_filter.c
Log:
Submitted by: Philippe M. Chiasson <[EMAIL PROTECTED]>
Reviewed by: dougm
sync with filter name changes
Revision Changes Path
1.109 +2 -2 modperl-2.0/src/modules/perl/mod_perl.c
Index: mod_perl.c
===================================================================
RCS file: /home/cvs/modperl-2.0/src/modules/perl/mod_perl.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- mod_perl.c 26 Feb 2002 19:01:38 -0000 1.108
+++ mod_perl.c 10 Mar 2002 00:09:52 -0000 1.109
@@ -504,11 +504,11 @@
ap_register_output_filter(MODPERL_OUTPUT_FILTER_NAME,
modperl_output_filter_handler,
- AP_FTYPE_CONTENT);
+ AP_FTYPE_CONTENT_SET);
ap_register_input_filter(MODPERL_INPUT_FILTER_NAME,
modperl_input_filter_handler,
- AP_FTYPE_CONTENT);
+ AP_FTYPE_CONTENT_SET);
ap_hook_pre_connection(modperl_hook_pre_connection,
NULL, NULL, APR_HOOK_FIRST);
1.32 +1 -1 modperl-2.0/src/modules/perl/modperl_filter.c
Index: modperl_filter.c
===================================================================
RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_filter.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- modperl_filter.c 25 Jan 2002 04:04:22 -0000 1.31
+++ modperl_filter.c 10 Mar 2002 00:09:52 -0000 1.32
@@ -506,7 +506,7 @@
ctx = (modperl_filter_ctx_t *)apr_pcalloc(r->pool, sizeof(*ctx));
ctx->handler = handlers[i];
- addfunc(name, (void*)ctx, r, NULL);
+ addfunc(name, (void*)ctx, r, r->connection);
}
return OK;