From c937b8434ab603fa0d256f9fc29229bc76683301 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Tue, 5 Sep 2017 10:22:46 -0700 Subject: Double connection close attempt fix. --- src/nxt_application.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nxt_application.c') diff --git a/src/nxt_application.c b/src/nxt_application.c index 232f5a7e..ef84a9ec 100644 --- a/src/nxt_application.c +++ b/src/nxt_application.c @@ -434,8 +434,8 @@ nxt_app_msg_write_get_buf(nxt_task_t *task, nxt_app_wmsg_t *msg, size_t size) free_size = nxt_buf_mem_free_size(&b->mem); if (nxt_slow_path(free_size < size)) { - nxt_debug(task, "requested buffer too big (%z < %z)", - free_size, size); + nxt_log(task, NXT_LOG_WARN, "requested buffer too big " + "(%z < %z)", free_size, size); return NULL; } -- cgit