summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_socket.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2019-11-14 16:39:54 +0300
committerIgor Sysoev <igor@sysoev.ru>2019-11-14 16:39:54 +0300
commitddde9c23cf302309d85ccc24b35075ce94da89a0 (patch)
tree2bf729e8f0315cd4c775be572c0f01688d11bf03 /src/nxt_socket.c
parent57e326b4119863f737d8677adc69dc53c7e4ed27 (diff)
downloadunit-ddde9c23cf302309d85ccc24b35075ce94da89a0.tar.gz
unit-ddde9c23cf302309d85ccc24b35075ce94da89a0.tar.bz2
Initial proxy support.
Diffstat (limited to '')
-rw-r--r--src/nxt_socket.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_socket.c b/src/nxt_socket.c
index a89663b1..2a809184 100644
--- a/src/nxt_socket.c
+++ b/src/nxt_socket.c
@@ -337,6 +337,9 @@ nxt_socket_error_level(nxt_err_t err)
case NXT_EHOSTUNREACH:
return NXT_LOG_INFO;
+ case NXT_ECONNREFUSED:
+ return NXT_LOG_ERR;
+
default:
return NXT_LOG_ALERT;
}