summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_controller.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_controller.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nxt_controller.c b/src/nxt_controller.c
index 660441f7..5ef1f944 100644
--- a/src/nxt_controller.c
+++ b/src/nxt_controller.c
@@ -862,7 +862,8 @@ nxt_controller_conf_pass(nxt_task_t *task, nxt_conf_value_t *conf)
b->mem.free = nxt_conf_json_print(b->mem.free, conf, NULL);
- return nxt_port_socket_write(task, port, NXT_PORT_MSG_DATA, -1, 0, 0, b);
+ return nxt_port_socket_write(task, port, NXT_PORT_MSG_DATA_LAST, -1, 0,
+ 0, b);
}