summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-09-05 10:22:46 -0700
committerMax Romanov <max.romanov@nginx.com>2017-09-05 10:22:46 -0700
commitc937b8434ab603fa0d256f9fc29229bc76683301 (patch)
treea19102c5729dbe6ca7dcefe1abfd9d396c3a890d /src/nxt_application.c
parent1429cacd1738e6d3dde3a155228c4109de50984a (diff)
downloadunit-c937b8434ab603fa0d256f9fc29229bc76683301.tar.gz
unit-c937b8434ab603fa0d256f9fc29229bc76683301.tar.bz2
Double connection close attempt fix.
Diffstat (limited to '')
-rw-r--r--src/nxt_application.c4
1 files changed, 2 insertions, 2 deletions
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;
}