Controller: proper reconfiguration requests handling.

Now controller serializes all reconfiguration requests
and waits for result from router.
This commit is contained in:
Valentin Bartenev
2017-07-12 20:21:17 +03:00
parent 4f4061061b
commit c38bcb7d70
6 changed files with 154 additions and 45 deletions

View File

@@ -323,6 +323,8 @@ nxt_router_conf_send(nxt_task_t *task, nxt_router_temp_conf_t *tmcf,
return;
}
b->mem.free = nxt_cpymem(b->mem.free, start, size);
b->parent = tmcf->mem_pool;
b->completion_handler = nxt_router_conf_buf_completion;