diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_port_socket.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nxt_port_socket.c b/src/nxt_port_socket.c index 01e46f93..de11549b 100644 --- a/src/nxt_port_socket.c +++ b/src/nxt_port_socket.c @@ -308,7 +308,8 @@ nxt_port_write_handler(nxt_task_t *task, void *obj, void *data) wq = &task->thread->engine->fast_work_queue; - msg->buf = nxt_sendbuf_completion(task, wq, msg->buf, plain_size); + msg->buf = nxt_sendbuf_completion(task, wq, msg->buf, plain_size, + m == NXT_PORT_METHOD_MMAP); if (msg->buf != NULL) { /* |