]> git.kaiwu.me - nginx.git/commit
Fixed loop in ngx_writev_chain() and ngx_solaris_sendfilev_chain().
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 17 Apr 2012 09:10:50 +0000 (09:10 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 17 Apr 2012 09:10:50 +0000 (09:10 +0000)
commit96d73e291f77152d6494f7cb969ec0cd3bb74215
treee68032b4aa62ec235f53e005313f25f0448c5d41
parent9e2f86cfc01e1841b7db727ce2d5282f07364d46
Fixed loop in ngx_writev_chain() and ngx_solaris_sendfilev_chain().

The "complete" flag wasn't cleared on loop iteration start, resulting in
broken behaviour if there were more than IOV_MAX buffers and first
iteration was fully completed (and hence the "complete" flag was set
to 1).
src/os/unix/ngx_solaris_sendfilev_chain.c
src/os/unix/ngx_writev_chain.c