diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-11-12 14:35:09 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-11-12 14:35:09 +0000 |
commit | 7e932d6a50efe3e750cc87f0729cad6ab75aad9f (patch) | |
tree | 655010209821a877a3ab589e366f2dbf161f45f6 /src/http/modules/ngx_http_static_handler.c | |
parent | 474f1eefb6c45f66de15918510adf3638aca36cc (diff) | |
download | nginx-7e932d6a50efe3e750cc87f0729cad6ab75aad9f.tar.gz nginx-7e932d6a50efe3e750cc87f0729cad6ab75aad9f.zip |
nginx-0.1.7-RELEASE importrelease-0.1.7
*) 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.
Diffstat (limited to 'src/http/modules/ngx_http_static_handler.c')
-rw-r--r-- | src/http/modules/ngx_http_static_handler.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_static_handler.c b/src/http/modules/ngx_http_static_handler.c index 12cf5b39d..4cc0de1c2 100644 --- a/src/http/modules/ngx_http_static_handler.c +++ b/src/http/modules/ngx_http_static_handler.c @@ -530,6 +530,7 @@ static ngx_int_t ngx_http_static_handler(ngx_http_request_t *r) b->file_last = ngx_file_size(&fi); b->file->fd = fd; + b->file->name = name; b->file->log = log; out.buf = b; |