From e501c74ddceab86e48c031ca9b5e154f52dcdae0 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Tue, 20 Aug 2019 16:31:53 +0300 Subject: Introducing websocket support in router and libunit. --- src/nxt_port.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nxt_port.c') diff --git a/src/nxt_port.c b/src/nxt_port.c index aff46666..cef65cab 100644 --- a/src/nxt_port.c +++ b/src/nxt_port.c @@ -68,6 +68,7 @@ nxt_port_new(nxt_task_t *task, nxt_port_id_t id, nxt_pid_t pid, nxt_queue_init(&port->messages); nxt_thread_mutex_create(&port->write_mutex); nxt_queue_init(&port->pending_requests); + nxt_queue_init(&port->active_websockets); } else { nxt_mp_destroy(mp); -- cgit