Listening sockets remaining from the previous configuration

were not updated with new parameters.
This commit is contained in:
Igor Sysoev
2017-07-19 22:36:03 +03:00
parent ba6c8e51be
commit a782faa499

View File

@@ -1532,6 +1532,7 @@ nxt_router_listen_socket_update(nxt_task_t *task, void *obj, void *data)
old = listen->socket.data;
listen->socket.data = joint;
listen->listen = &joint->socket_conf->listen;
job->work.next = NULL;
job->work.handler = nxt_router_conf_wait;