diff src/os/unix/ngx_freebsd_sendfile_chain.c @ 4351:d1d34de1a419 stable-1.0

Merge of r4221, r4222: Fixed unix ngx_write_chain_to_file() to return total bytes written. Previously result of last iteration's writev() was returned. This was unnoticed as return value was only used if chain contained only one or two buffers.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 13 Dec 2011 18:59:18 +0000
parents d3568507db51
children 1003326eccc5
line wrap: on
line diff