mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
fix bug introduced in r1228
This commit is contained in:
parent
1849ba824e
commit
52a93439bc
@ -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;
|
src->file_pos += n;
|
||||||
|
|
||||||
if (src->pos == src->last) {
|
if (src->file_pos == src->file_last) {
|
||||||
dst->flush = src->flush;
|
dst->flush = src->flush;
|
||||||
dst->last_buf = src->last_buf;
|
dst->last_buf = src->last_buf;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user