From 59db08a6fcef71265e7ab8ac32797b6db0f56aae Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Tue, 19 Feb 2013 17:48:45 +0000 Subject: Removed zero termination of shm zone names. It was added in r2717 and no longer needed since r2721, where the termination was added to ngx_shm_alloc() and ngx_init_zone_pool(). So then it only corrupts error messages about ivalid zones. --- src/http/modules/ngx_http_ssl_module.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/http/modules') diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c index 62882838d..2fc4ad47c 100644 --- a/src/http/modules/ngx_http_ssl_module.c +++ b/src/http/modules/ngx_http_ssl_module.c @@ -661,7 +661,6 @@ ngx_http_ssl_session_cache(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) for (j = sizeof("shared:") - 1; j < value[i].len; j++) { if (value[i].data[j] == ':') { - value[i].data[j] = '\0'; break; } -- cgit