comparison src/http/ngx_http_output_filter.c @ 47:d81326c3b21b

nginx-0.0.1-2003-01-15-10:02:27 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 15 Jan 2003 07:02:27 +0000
parents f1ee46c036a4
children 27b628ef907e
comparison
equal deleted inserted replaced
46:f84a648211f4 47:d81326c3b21b
295 295
296 src->pos.mem += size; 296 src->pos.mem += size;
297 dst->last.mem += size; 297 dst->last.mem += size;
298 } 298 }
299 299
300 if (src->type & NGX_HUNK_LAST) { 300 if (src->type & NGX_HUNK_LAST && src->pos.mem == src->last.mem) {
301 dst->type |= NGX_HUNK_LAST; 301 dst->type |= NGX_HUNK_LAST;
302 } 302 }
303 303
304 return NGX_OK; 304 return NGX_OK;
305 } 305 }