diff options
author | Gleb Smirnoff <glebius@nginx.com> | 2013-08-08 15:06:39 +0400 |
---|---|---|
committer | Gleb Smirnoff <glebius@nginx.com> | 2013-08-08 15:06:39 +0400 |
commit | 65e37b4a128e5c4fe88721c790fd6f5c13102a62 (patch) | |
tree | 13df7393a0d4f489ca50b6541e49cfb7a6bf09bb /src/mysql/ngx_mysql.c | |
parent | be27365bb10e255330d3baeda2b918ea9fd79b8e (diff) | |
download | nginx-65e37b4a128e5c4fe88721c790fd6f5c13102a62.tar.gz nginx-65e37b4a128e5c4fe88721c790fd6f5c13102a62.zip |
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.
Diffstat (limited to 'src/mysql/ngx_mysql.c')
0 files changed, 0 insertions, 0 deletions