nxt_controller.c (357:b80698152fcd) nxt_controller.c (359:d4848619451a)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) Valentin V. Bartenev
5 * Copyright (C) NGINX, Inc.
6 */
7
8#include <nxt_main.h>

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

364 sa->socklen, sa->length);
365 if (ls->sockaddr == NULL) {
366 return NXT_ERROR;
367 }
368
369 ls->sockaddr->type = sa->type;
370 nxt_sockaddr_text(ls->sockaddr);
371
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) Valentin V. Bartenev
5 * Copyright (C) NGINX, Inc.
6 */
7
8#include <nxt_main.h>

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

364 sa->socklen, sa->length);
365 if (ls->sockaddr == NULL) {
366 return NXT_ERROR;
367 }
368
369 ls->sockaddr->type = sa->type;
370 nxt_sockaddr_text(ls->sockaddr);
371
372 nxt_listen_socket_remote_size(ls, sa);
372 nxt_listen_socket_remote_size(ls);
373
374 ls->socket = -1;
375 ls->backlog = NXT_LISTEN_BACKLOG;
376 ls->read_after_accept = 1;
377 ls->flags = NXT_NONBLOCK;
378
379#if 0
380 /* STUB */

--- 906 unchanged lines hidden ---
373
374 ls->socket = -1;
375 ls->backlog = NXT_LISTEN_BACKLOG;
376 ls->read_after_accept = 1;
377 ls->flags = NXT_NONBLOCK;
378
379#if 0
380 /* STUB */

--- 906 unchanged lines hidden ---