summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_controller.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-06-28 15:16:28 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-06-28 15:16:28 +0300
commitd8f371dde9dd660c6067a173e70289c33e2a26c0 (patch)
treebba2a8c5912e06aef4cb5271e69a909b0c706d9c /src/nxt_controller.c
parent61c20aae4b2b2a142bb368219ed3a4b218d714a8 (diff)
downloadunit-d8f371dde9dd660c6067a173e70289c33e2a26c0.tar.gz
unit-d8f371dde9dd660c6067a173e70289c33e2a26c0.tar.bz2
Setting listen socket fields lost in changeset 10688b89aa16.
Diffstat (limited to 'src/nxt_controller.c')
-rw-r--r--src/nxt_controller.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_controller.c b/src/nxt_controller.c
index 33bb3e93..d2d81a4f 100644
--- a/src/nxt_controller.c
+++ b/src/nxt_controller.c
@@ -157,6 +157,8 @@ nxt_runtime_controller_socket(nxt_task_t *task, nxt_runtime_t *rt)
}
ls->sockaddr->type = sa->type;
+ ls->socklen = sa->socklen;
+ ls->address_length = sa->length;
nxt_sockaddr_text(ls->sockaddr);