summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_socket.c
diff options
context:
space:
mode:
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;
}