Mercurial > hg > nginx-quic
changeset 2603:f9bd7999eb08
fix segfault if ngx_read_file() will fail
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 24 Mar 2009 15:03:38 +0000 |
parents | 4ed2fa197a4a |
children | 2a35ed59827d |
files | src/http/ngx_http_file_cache.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -251,6 +251,7 @@ ngx_http_file_cache_open(ngx_http_reques "http file cache fd: %d", of.fd); c->file.fd = of.fd; + c->file.log = r->connection->log; c->buf = ngx_create_temp_buf(r->pool, c->body_start); if (c->buf == NULL) {