Deleted
Added
nxt_port.c (163:e4d237f57e43) | nxt_port.c (164:7449e4954471) |
---|---|
1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <nxt_main.h> 8#include <nxt_runtime.h> --- 231 unchanged lines hidden (view full) --- 240 } 241 242 port = nxt_port_new(new_port_msg->id, new_port_msg->pid, 243 new_port_msg->type); 244 if (nxt_slow_path(port == NULL)) { 245 return; 246 } 247 | 1 2/* 3 * Copyright (C) Igor Sysoev 4 * Copyright (C) NGINX, Inc. 5 */ 6 7#include <nxt_main.h> 8#include <nxt_runtime.h> --- 231 unchanged lines hidden (view full) --- 240 } 241 242 port = nxt_port_new(new_port_msg->id, new_port_msg->pid, 243 new_port_msg->type); 244 if (nxt_slow_path(port == NULL)) { 245 return; 246 } 247 |
248 nxt_process_port_add(process, port); | 248 nxt_process_port_add(task, process, port); |
249 250 port->pair[0] = -1; 251 port->pair[1] = msg->fd; 252 port->max_size = new_port_msg->max_size; 253 port->max_share = new_port_msg->max_share; 254 255 port->socket.task = task; 256 --- 175 unchanged lines hidden --- | 249 250 port->pair[0] = -1; 251 port->pair[1] = msg->fd; 252 port->max_size = new_port_msg->max_size; 253 port->max_share = new_port_msg->max_share; 254 255 port->socket.task = task; 256 --- 175 unchanged lines hidden --- |