summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-07-19 22:36:03 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-07-19 22:36:03 +0300
commita782faa499523f988df0fe0ac5afed69fab008a1 (patch)
treefaddd518842f164db918927984ba1919d615b5ce
parentba6c8e51bee7a858852e18d29e52c8d5e567e0a0 (diff)
downloadunit-a782faa499523f988df0fe0ac5afed69fab008a1.tar.gz
unit-a782faa499523f988df0fe0ac5afed69fab008a1.tar.bz2
Listening sockets remaining from the previous configuration
were not updated with new parameters.
-rw-r--r--src/nxt_router.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index 0774b158..40cf0131 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -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;