Re: Re: cvs: php4 /sapi/apache2filter README

From: Date: Thu, 14 Mar 2002 10:04:57 +0000
Subject: Re: Re: cvs: php4 /sapi/apache2filter README
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-81194@lists.php.net to get a copy of this message
derick@php.net wrote: > What kind of patch was that? There was a change in Apache2's filter API, patch below. Index: php4/sapi/apache2filter/sapi_apache2.c diff -u php4/sapi/apache2filter/sapi_apache2.c:1.61 php4/sapi/apache2filter/sapi_apache2.c:1.62 --- php4/sapi/apache2filter/sapi_apache2.c:1.61 Thu Jan 24 23:03:42 2002 +++ php4/sapi/apache2filter/sapi_apache2.c Wed Mar 13 02:11:00 2002 @@ -470,8 +470,8 @@ { ap_hook_post_config(php_apache_server_startup, NULL, NULL, APR_HOOK_MIDDLE); ap_hook_insert_filter(php_insert_filter, NULL, NULL, APR_HOOK_MIDDLE); - ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_CONTENT); - ap_register_input_filter("PHP", php_input_filter, AP_FTYPE_CONTENT); + ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_RESOURCE); + ap_register_input_filter("PHP", php_input_filter, AP_FTYPE_RESOURCE); } AP_MODULE_DECLARE_DATA module php4_module = { -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

« previous php.dev (#81194) next »