Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4417 - trunk/src/http/modules

Anonymous User
January 30, 2012 04:04AM
Author: vbart
Date: 2012-01-30 09:02:29 +0000 (Mon, 30 Jan 2012)
New Revision: 4417

Modified:
trunk/src/http/modules/ngx_http_limit_req_module.c
Log:
Limit req: error messages fixed.


Modified: trunk/src/http/modules/ngx_http_limit_req_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_limit_req_module.c 2012-01-30 07:39:47 UTC (rev 4416)
+++ trunk/src/http/modules/ngx_http_limit_req_module.c 2012-01-30 09:02:29 UTC (rev 4417)
@@ -691,8 +691,8 @@

if (ctx == NULL) {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "no variable is defined for limit_req_zone \"%V\"",
- &cmd->name);
+ "no variable is defined for %V \"%V\"",
+ &cmd->name, &name);
return NGX_CONF_ERROR;
}

@@ -708,8 +708,8 @@
ctx = shm_zone->data;

ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "limit_req_zone \"%V\" is already bound to variable \"%V\"",
- &value[1], &ctx->var);
+ "%V \"%V\" is already bound to variable \"%V\"",
+ &cmd->name, &name, &ctx->var);
return NGX_CONF_ERROR;
}


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

[nginx] svn commit: r4417 - trunk/src/http/modules

Anonymous User 1262 January 30, 2012 04:04AM



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

Online Users

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