Mercurial > hg > nginx-quic
comparison src/core/ngx_connection.c @ 5320:ad137a80919f
Don't lose pointer to first nonempty buf in ngx_*_sendfile_chain().
In ngx_*_sendfile_chain() when calculating pointer to a first
non-zero sized buf, use "in" as iterator. This fixes processing
of zero sized buf(s) after EINTR. Otherwise function can return
zero sized buf to caller, and later ngx_http_write_filter()
logs warning.
author | Gleb Smirnoff <glebius@nginx.com> |
---|---|
date | Thu, 08 Aug 2013 15:06:39 +0400 |
parents | 6d73e0dc4f64 |
children | 3d2d3e1cf427 |
comparison
equal
deleted
inserted
replaced
5319:50f531a55b73 | 5320:ad137a80919f |
---|