Mercurial > hg > nginx
comparison src/http/modules/ngx_http_static_handler.c @ 465:5aecc125bc33 release-0.1.7
nginx-0.1.7-RELEASE import
*) Bugfix: on FreeBSD the segmentation fault may occur if the size of
the transferred file was changed; the bug had appeared in 0.1.5.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 12 Nov 2004 14:35:09 +0000 |
parents | a88a3e4e158f |
children | 621229427cba |
comparison
equal
deleted
inserted
replaced
464:068e10cadfd3 | 465:5aecc125bc33 |
---|---|
528 | 528 |
529 b->file_pos = 0; | 529 b->file_pos = 0; |
530 b->file_last = ngx_file_size(&fi); | 530 b->file_last = ngx_file_size(&fi); |
531 | 531 |
532 b->file->fd = fd; | 532 b->file->fd = fd; |
533 b->file->name = name; | |
533 b->file->log = log; | 534 b->file->log = log; |
534 | 535 |
535 out.buf = b; | 536 out.buf = b; |
536 out.next = NULL; | 537 out.next = NULL; |
537 | 538 |