[PATCH] Fixing a typo in the addition filter module's config directive name "addition_types"
agentzh
agentzh at gmail.com
Tue Sep 22 12:31:25 MSD 2009
Hi,
I've noticed a bug in nginx 0.7.x's addition filter module and I've
confirmed that it also exists in 0.8.15. Here's a patch for the 0.8.15
release:
--- src/http/modules/ngx_http_addition_filter_module.c 2009-06-03
00:09:44.000000000 +0800
+++ src/http/modules/ngx_http_addition_filter_module.c.patched
2009-09-22 16:27:01.239171824 +0800
@@ -45,7 +45,7 @@
offsetof(ngx_http_addition_conf_t, after_body),
NULL },
- { ngx_string("addtion_types"),
+ { ngx_string("addition_types"),
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE,
ngx_http_types_slot,
NGX_HTTP_LOC_CONF_OFFSET,
More information about the nginx
mailing list