diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-08-11 18:04:04 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-08-11 18:04:04 +0300 |
commit | 1b354421c33917239a793e891e3d43e02566e550 (patch) | |
tree | a7296360227a961c680b6a70f9e836ce691db646 /src/nxt_sendbuf.h | |
parent | 70d73d633bc92fca9fe311fdb1ba7af1b2599c9e (diff) | |
download | unit-1b354421c33917239a793e891e3d43e02566e550.tar.gz unit-1b354421c33917239a793e891e3d43e02566e550.tar.bz2 |
Tiny mmap buffers completion fixed.
Small mmap buffers transferred in 'plain' mode and should be freed by sender.
Diffstat (limited to 'src/nxt_sendbuf.h')
-rw-r--r-- | src/nxt_sendbuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_sendbuf.h b/src/nxt_sendbuf.h index b159bfe5..03da2c5d 100644 --- a/src/nxt_sendbuf.h +++ b/src/nxt_sendbuf.h @@ -121,7 +121,7 @@ ssize_t nxt_sendbuf_copy_coalesce(nxt_conn_t *c, nxt_buf_mem_t *bm, nxt_buf_t *nxt_sendbuf_update(nxt_buf_t *b, size_t sent); nxt_buf_t *nxt_sendbuf_completion(nxt_task_t *task, nxt_work_queue_t *wq, - nxt_buf_t *b, size_t sent); + nxt_buf_t *b, size_t sent, nxt_bool_t mmap_mode); #endif /* _NXT_SENDBUF_H_INCLUDED_ */ |