fix bug introduced in r1228
This commit is contained in:
parent
8e485d04d9
commit
a8dc68ba1b
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…
Reference in a new issue