Mercurial > hg > nginx
diff src/os/unix/ngx_os.h @ 5917:2c64b69daec5
Moved writev() handling code to a separate function.
This reduces code duplication and unifies debug logging of the writev() syscall
among various send chain functions.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Wed, 13 Aug 2014 15:11:45 +0400 |
parents | 8e903522c17a |
children | 4dc8e7b62216 |
line wrap: on
line diff
--- a/src/os/unix/ngx_os.h Wed Aug 13 15:11:45 2014 +0400 +++ b/src/os/unix/ngx_os.h Wed Aug 13 15:11:45 2014 +0400 @@ -75,6 +75,9 @@ size_t limit, ngx_log_t *log); +ssize_t ngx_writev(ngx_connection_t *c, ngx_iovec_t *vec); + + extern ngx_os_io_t ngx_os_io; extern ngx_int_t ngx_ncpu; extern ngx_int_t ngx_max_sockets;