Welcome! Log In Create A New Profile

Advanced

[nginx] Gzip static: fixed NGX_CONF_FLAG misuse.

Valentin Bartenev
March 03, 2014 08:20AM
details: http://hg.nginx.org/nginx/rev/ceecde39853f
branches:
changeset: 5587:ceecde39853f
user: Valentin Bartenev <vbart@nginx.com>
date: Mon Mar 03 17:17:25 2014 +0400
description:
Gzip static: fixed NGX_CONF_FLAG misuse.

diffstat:

src/http/modules/ngx_http_gzip_static_module.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r db6d07dbef3c -r ceecde39853f src/http/modules/ngx_http_gzip_static_module.c
--- a/src/http/modules/ngx_http_gzip_static_module.c Fri Feb 28 20:17:01 2014 +0400
+++ b/src/http/modules/ngx_http_gzip_static_module.c Mon Mar 03 17:17:25 2014 +0400
@@ -38,7 +38,7 @@ static ngx_conf_enum_t ngx_http_gzip_st
static ngx_command_t ngx_http_gzip_static_commands[] = {

{ ngx_string("gzip_static"),
- NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG,
+ NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
ngx_conf_set_enum_slot,
NGX_HTTP_LOC_CONF_OFFSET,
offsetof(ngx_http_gzip_static_conf_t, enable),

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Gzip static: fixed NGX_CONF_FLAG misuse.

Valentin Bartenev 758 March 03, 2014 08:20AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 194
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