nxt_conn_connect.c (493:745222d540a2) nxt_conn_connect.c (494:7c83ddcc1c42)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

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

151 task, c, data);
152 return;
153 }
154
155 c->socket.error = err;
156
157 nxt_log(task, nxt_socket_error_level(err), "connect(%d, %*s) failed %E",
158 c->socket.fd, (size_t) c->remote->length,
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

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

151 task, c, data);
152 return;
153 }
154
155 c->socket.error = err;
156
157 nxt_log(task, nxt_socket_error_level(err), "connect(%d, %*s) failed %E",
158 c->socket.fd, (size_t) c->remote->length,
159 nxt_sockaddr_start(c->remote));
159 nxt_sockaddr_start(c->remote), err);
160
161 nxt_conn_connect_error(task, c, data);
162}
163
164
165void
166nxt_conn_connect_error(nxt_task_t *task, void *obj, void *data)
167{

--- 28 unchanged lines hidden ---
160
161 nxt_conn_connect_error(task, c, data);
162}
163
164
165void
166nxt_conn_connect_error(nxt_task_t *task, void *obj, void *data)
167{

--- 28 unchanged lines hidden ---