[PATCH] Headers filter: style

Maxim Dounin mdounin at mdounin.ru
Thu Jun 1 13:52:42 UTC 2017


Hello!

On Wed, May 31, 2017 at 01:54:00PM -0700, Piotr Sikora via nginx-devel wrote:

> # HG changeset patch
> # User Piotr Sikora <piotrsikora at google.com>
> # Date 1496263895 25200
> #      Wed May 31 13:51:35 2017 -0700
> # Node ID 057ec63be834988b6435b4ef64a1c3bd0cc23959
> # Parent  ab6ef3037840393752d82fac01ea1eb4f972301c
> Headers filter: style.
> 
> Signed-off-by: Piotr Sikora <piotrsikora at google.com>
> 
> diff -r ab6ef3037840 -r 057ec63be834 src/http/modules/ngx_http_headers_filter_module.c
> --- a/src/http/modules/ngx_http_headers_filter_module.c
> +++ b/src/http/modules/ngx_http_headers_filter_module.c
> @@ -98,7 +98,7 @@ static ngx_command_t  ngx_http_headers_f
>        ngx_http_headers_expires,
>        NGX_HTTP_LOC_CONF_OFFSET,
>        0,
> -      NULL},
> +      NULL },
>  
>      { ngx_string("add_header"),
>        NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF
> @@ -106,7 +106,7 @@ static ngx_command_t  ngx_http_headers_f
>        ngx_http_headers_add,
>        NGX_HTTP_LOC_CONF_OFFSET,
>        0,
> -      NULL},
> +      NULL },
>  
>        ngx_null_command
>  };

Committed, thanks.

-- 
Maxim Dounin
http://nginx.org/


More information about the nginx-devel mailing list