diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_conn_close.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nxt_conn_close.c b/src/nxt_conn_close.c index f9586624..7c130309 100644 --- a/src/nxt_conn_close.c +++ b/src/nxt_conn_close.c @@ -46,9 +46,8 @@ nxt_conn_close(nxt_event_engine_t *engine, nxt_conn_t *c) sizeof(struct linger)); if (nxt_slow_path(ret != 0)) { - nxt_log(c->socket.task, NXT_LOG_CRIT, - "setsockopt(%d, SO_LINGER) failed %E", - c->socket.fd, nxt_socket_errno); + nxt_alert(c->socket.task, "setsockopt(%d, SO_LINGER) failed %E", + c->socket.fd, nxt_socket_errno); } } |