SetOutputFilter. This corresponds nicely with the other Set
directives, which operate on containers while the Add* directives
tend to work directly on extensions. [Ryan Bloom]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88042
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0b1
+ *) Change AddInputFilter and AddOutputFilter to SetInputFilter and
+ SetOutputFilter. This corresponds nicely with the other Set
+ directives, which operate on containers while the Add* directives
+ tend to work directly on extensions. [Ryan Bloom]
+
*) Cleanup the header handling a bit. This uses the apr_brigade_*
functions for the buffering so that we don't need to compute
the length of the headers before we actually create the header
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2001/02/08 00:20:10 $]
+Last modified at [$Date: 2001/02/10 00:33:36 $]
Release:
RELEASE NON-SHOWSTOPPERS BUT WOULD BE REAL NICE TO WRAP THESE UP:
- * The directives to setup output filters need to be re-visited. These
- directives aren't consistent with what we already have, and they don't
- always make good sense.
- Status: rbb volunteers.
-
* Combine log_child and piped_log_spawn. Clean up http_log.c.
Common logging API.
"xlate output filter not added implicitly because %s",
!reqinfo->output_ctx ?
"no output configuration available" :
- "AddOutputFilter was used to add the filter");
+ "SetOutputFilter was used to add the filter");
}
if (reqinfo->input_ctx && !configured_on_input(r, XLATEIN_FILTER_NAME)) {
"xlate input filter not added implicitly because %s",
!reqinfo->input_ctx ?
"no input configuration available" :
- "AddInputFilter was used to add the filter");
+ "SetInputFilter was used to add the filter");
}
}
}
apr_status_t rv = APR_SUCCESS;
if (!ctx) {
- /* this is AddOutputFilter path; grab the preallocated context,
+ /* this is SetOutputFilter path; grab the preallocated context,
* if any; note that if we decided not to do anything in an earlier
* handler, we won't even have a reqinfo
*/
int hit_eos;
if (!ctx) {
- /* this is AddInputFilter path; grab the preallocated context,
+ /* this is SetInputFilter path; grab the preallocated context,
* if any; note that if we decided not to do anything in an earlier
* handler, we won't even have a reqinfo
*/
AP_INIT_ITERATE("ExtFilterOptions",
add_options,
NULL,
- ACCESS_CONF, /* same as AddInputFilter/AddOutputFilter */
+ ACCESS_CONF, /* same as SetInputFilter/SetOutputFilter */
"valid options: DebugLevel=n, LogStderr, NoLogStderr"),
AP_INIT_RAW_ARGS("ExtFilterDefine",
define_filter,
* to leave it just in the conf file. Other should feel free to disagree
* with me. Rbb.
*/
-AP_INIT_ITERATE("AddOutputFilter", add_filter, NULL, ACCESS_CONF,
+AP_INIT_ITERATE("SetOutputFilter", add_filter, NULL, ACCESS_CONF,
"filters to be run"),
-AP_INIT_ITERATE("AddInputFilter", add_input_filter, NULL, ACCESS_CONF,
+AP_INIT_ITERATE("SetInputFilter", add_input_filter, NULL, ACCESS_CONF,
"filters to be run on the request body"),
{ NULL }
};