Klaus Demo nginx / eb017e7
Core: set nginx_shared_zone name via ngx_str_set(). Ruslan Ermilov 3 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
499499 #endif
500500
501501 shm.size = size;
502 shm.name.len = sizeof("nginx_shared_zone") - 1;
503 shm.name.data = (u_char *) "nginx_shared_zone";
502 ngx_str_set(&shm.name, "nginx_shared_zone");
504503 shm.log = cycle->log;
505504
506505 if (ngx_shm_alloc(&shm) != NGX_OK) {