Welcome! Log In Create A New Profile

Advanced

[PATCH] Fixing a typo in the addition filter module's config directive name "addition_types"

agentzh
September 22, 2009 04:34AM
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,
Subject Author Posted

[PATCH] Fixing a typo in the addition filter module's config directive name "addition_types"

agentzh September 22, 2009 04:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 294
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready