Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_static_handler.c @ 67:5a7d1aaa1618
nginx-0.0.1-2003-03-11-23:38:13 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 11 Mar 2003 20:38:13 +0000 |
parents | 36d2c25cc9bb |
children | e43f406e4525 |
comparison
equal
deleted
inserted
replaced
66:4876cd4a36bb | 67:5a7d1aaa1618 |
---|---|
142 return rc; | 142 return rc; |
143 | 143 |
144 #if 1 | 144 #if 1 |
145 | 145 |
146 h->type = NGX_HUNK_FILE|NGX_HUNK_LAST; | 146 h->type = NGX_HUNK_FILE|NGX_HUNK_LAST; |
147 h->pos.file = 0; | 147 h->file_pos = 0; |
148 h->last.file = ngx_file_size(r->file.info); | 148 h->file_last = ngx_file_size(r->file.info); |
149 | 149 |
150 h->file->fd = r->file.fd; | 150 h->file->fd = r->file.fd; |
151 h->file->log = r->connection->log; | 151 h->file->log = r->connection->log; |
152 | 152 |
153 rc = ngx_http_output_filter(r, h); | 153 rc = ngx_http_output_filter(r, h); |