]> git.kaiwu.me - nginx.git/commit
Refactored ngx_linux_sendfile_chain() even more.
authorValentin Bartenev <vbart@nginx.com>
Fri, 27 Feb 2015 16:19:08 +0000 (19:19 +0300)
committerValentin Bartenev <vbart@nginx.com>
Fri, 27 Feb 2015 16:19:08 +0000 (19:19 +0300)
commitea881578a24c765af2db310f6337663116a516ee
treec9215141df3fb98982807461ff66c18913b9210c
parenta0d543595db9d8da5cd2c226cd47e94c463a9163
Refactored ngx_linux_sendfile_chain() even more.

The code that calls sendfile() was cut into a separate function.
This simplifies EINTR processing, yet is needed for the following
changes that add threads support.
src/os/unix/ngx_linux_sendfile_chain.c