nxt_socket.c (1263:f3e5fa1fc962) nxt_socket.c (1270:9efa309be18b)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

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

332 case NXT_ENOTCONN:
333 case NXT_ETIMEDOUT:
334 case NXT_ENETDOWN:
335 case NXT_ENETUNREACH:
336 case NXT_EHOSTDOWN:
337 case NXT_EHOSTUNREACH:
338 return NXT_LOG_INFO;
339
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#include <nxt_main.h>
8

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

332 case NXT_ENOTCONN:
333 case NXT_ETIMEDOUT:
334 case NXT_ENETDOWN:
335 case NXT_ENETUNREACH:
336 case NXT_EHOSTDOWN:
337 case NXT_EHOSTUNREACH:
338 return NXT_LOG_INFO;
339
340 case NXT_ECONNREFUSED:
341 return NXT_LOG_ERR;
342
340 default:
341 return NXT_LOG_ALERT;
342 }
343}
343 default:
344 return NXT_LOG_ALERT;
345 }
346}