comparison src/http/modules/ngx_http_static_handler.c @ 14:8a529698ed55 NGINX_0_1_7

nginx 0.1.7 *) Bugfix: on FreeBSD the segmentation fault may occur if the size of the transferred file was changed; bug appeared in 0.1.5.
author Igor Sysoev <http://sysoev.ru>
date Fri, 12 Nov 2004 00:00:00 +0300
parents 46833bd150cb
children da8c190bdaba
comparison
equal deleted inserted replaced
13:6bf8a3012a54 14:8a529698ed55
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