# HG changeset patch # User Maxim Dounin # Date 1364577334 0 # Node ID 2ff51c32791f8b12a6f68890dfe91e969633ed76 # Parent 3c4f32ebef31577916a179ffb18463ffbe0fcbfb Merge of r5078: 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(). Since then it only corrupted error messages about invalid zones. diff -r 3c4f32ebef31 -r 2ff51c32791f src/http/modules/ngx_http_ssl_module.c --- a/src/http/modules/ngx_http_ssl_module.c Fri Mar 29 17:13:45 2013 +0000 +++ b/src/http/modules/ngx_http_ssl_module.c Fri Mar 29 17:15:34 2013 +0000 @@ -593,7 +593,6 @@ for (j = sizeof("shared:") - 1; j < value[i].len; j++) { if (value[i].data[j] == ':') { - value[i].data[j] = '\0'; break; } diff -r 3c4f32ebef31 -r 2ff51c32791f src/http/ngx_http_file_cache.c --- a/src/http/ngx_http_file_cache.c Fri Mar 29 17:13:45 2013 +0000 +++ b/src/http/ngx_http_file_cache.c Fri Mar 29 17:15:34 2013 +0000 @@ -1674,8 +1674,6 @@ p = (u_char *) ngx_strchr(name.data, ':'); if (p) { - *p = '\0'; - name.len = p - name.data; p++;