mirror of
https://github.com/apache/httpd.git
synced 2025-08-10 02:56:11 +00:00
*) mod_filter: Add "change=no" as a proto-flag to FilterProtocol
to remove a providers initial flags set at registration time. [Eric Covener] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1519475 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
4
CHANGES
4
CHANGES
@ -1,6 +1,10 @@
|
||||
-*- coding: utf-8 -*-
|
||||
Changes with Apache 2.5.0
|
||||
|
||||
*) mod_filter: Add "change=no" as a proto-flag to FilterProtocol
|
||||
to remove a providers initial flags set at registration time.
|
||||
[Eric Covener]
|
||||
|
||||
*) mod_lua: Return a 500 error if a LuaHook* script doesn't return a
|
||||
numeric return code. [Eric Covener]
|
||||
|
||||
|
@ -368,6 +368,9 @@ static const char *filter_protocol(cmd_parms *cmd, void *CFG, const char *fname,
|
||||
if (!strcasecmp(arg, "change=yes")) {
|
||||
flags |= AP_FILTER_PROTO_CHANGE | AP_FILTER_PROTO_CHANGE_LENGTH;
|
||||
}
|
||||
if (!strcasecmp(arg, "change=no")) {
|
||||
flags &= ~(AP_FILTER_PROTO_CHANGE | AP_FILTER_PROTO_CHANGE_LENGTH);
|
||||
}
|
||||
else if (!strcasecmp(arg, "change=1:1")) {
|
||||
flags |= AP_FILTER_PROTO_CHANGE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user