Deleted Added
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8#include <nxt_main_process.h>

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

156 ret = init->start(task, init->data);
157
158 if (nxt_slow_path(ret != NXT_OK)) {
159 goto fail;
160 }
161
162 nxt_port_enable(task, port, init->port_handlers);
163
164 ret = nxt_port_socket_write(task, main_port, NXT_PORT_MSG_READY,
165 -1, init->stream, 0, NULL);
166
167 if (nxt_slow_path(ret != NXT_OK)) {
168 nxt_log(task, NXT_LOG_ERR, "failed to send READY message to main");
169
170 goto fail;
171 }
172

--- 489 unchanged lines hidden ---