<div dir="ltr"><div>Hi! </div><div><br></div><div>static ngx_int_t</div><div>ngx_http_limit_req_init_zone(ngx_shm_zone_t *shm_zone, void *data)</div><div>{</div><div>    ngx_http_limit_req_ctx_t  *octx = data;</div><div><br></div><div>    size_t                     len;</div><div>    ngx_http_limit_req_ctx_t  *ctx;</div><div><br></div><div>    ctx = shm_zone->data;</div><div><br></div><div>    if (octx) {</div><div>        if (ctx->key.value.len != octx->key.value.len</div><div>            || ngx_strncmp(ctx->key.value.data, octx->key.value.data,</div><div>                           ctx->key.value.len)</div><div>               != 0)</div><div>        {</div><div>            ngx_log_error(NGX_LOG_EMERG, shm_zone->shm.log, 0,</div><div>                       -  "limit_req \"%V\" uses the \"%V\" key "</div><div>                       + "limit_req_zone \"%V\" uses the \"%V\" key "</div><div>                          "while previously it used the \"%V\" key",</div><div>                          &shm_zone-><a href="http://shm.name">shm.name</a>, &ctx->key.value,</div><div>                          &octx->key.value);</div><div>            return NGX_ERROR;</div><div>        }</div><div>      </div><div>        ...</div><div>}</div><div><br></div><div>B.R~</div></div>