mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 19:41:35 +00:00
fix bug introduced in r1228
This commit is contained in:
parent
1849ba824e
commit
52a93439bc
1 changed files with 1 additions and 1 deletions
|
|
@ -418,7 +418,7 @@ ngx_output_chain_copy_buf(ngx_buf_t *dst, ngx_buf_t *src, ngx_uint_t sendfile)
|
|||
|
||||
src->file_pos += n;
|
||||
|
||||
if (src->pos == src->last) {
|
||||
if (src->file_pos == src->file_last) {
|
||||
dst->flush = src->flush;
|
||||
dst->last_buf = src->last_buf;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue