]> git.kaiwu.me - nginx.git/commit
Introduced the ngx_output_chain_to_iovec() function.
authorValentin Bartenev <vbart@nginx.com>
Tue, 7 Oct 2014 07:38:57 +0000 (11:38 +0400)
committerValentin Bartenev <vbart@nginx.com>
Tue, 7 Oct 2014 07:38:57 +0000 (11:38 +0400)
commitb29d599c0b2459e4d8ebde1113d2738cf48f44eb
tree4dce76d2e51aac59384040ef8eb0a6e7a92f844b
parent41ed9734561fc957a64ca7e4dab5a8c6e3ac3c0b
Introduced the ngx_output_chain_to_iovec() function.

It deduplicates code of the send chain functions and uses only preallocated
memory, which completely solves the problem mentioned in d1bde5c3c5d2.
src/os/unix/ngx_darwin_sendfile_chain.c
src/os/unix/ngx_freebsd_sendfile_chain.c
src/os/unix/ngx_linux_sendfile_chain.c
src/os/unix/ngx_os.h
src/os/unix/ngx_writev_chain.c