Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_browser_module.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 | f84a98a03d0d |
children | 1b82e86dd3e7 |
comparison
equal
deleted
inserted
replaced
5319:50f531a55b73 | 5320:ad137a80919f |
---|