nxt_router.c (1662:1472957bc7bd) nxt_router.c (1666:c224d375d89b)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) Valentin V. Bartenev
5 * Copyright (C) NGINX, Inc.
6 */
7
8#include <nxt_router.h>

--- 674 unchanged lines hidden (view full) ---

683 port waiters in port_hash */
684 nxt_port_hash_add(&app->port_hash, port);
685 app->port_hash_count++;
686
687 nxt_thread_mutex_unlock(&app->mutex);
688
689 port->app = app;
690 port->main_app_port = main_app_port;
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) Valentin V. Bartenev
5 * Copyright (C) NGINX, Inc.
6 */
7
8#include <nxt_router.h>

--- 674 unchanged lines hidden (view full) ---

683 port waiters in port_hash */
684 nxt_port_hash_add(&app->port_hash, port);
685 app->port_hash_count++;
686
687 nxt_thread_mutex_unlock(&app->mutex);
688
689 port->app = app;
690 port->main_app_port = main_app_port;
691
692 nxt_port_socket_write(task, port, NXT_PORT_MSG_PORT_ACK, -1, 0, 0, NULL);
691}
692
693
694static void
695nxt_router_conf_data_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
696{
697 void *p;
698 size_t size;

--- 4813 unchanged lines hidden ---
693}
694
695
696static void
697nxt_router_conf_data_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
698{
699 void *p;
700 size_t size;

--- 4813 unchanged lines hidden ---