Mercurial > hg > nginx
diff src/http/modules/ngx_http_range_filter.c @ 110:152567c11325
nginx-0.0.1-2003-07-02-22:51:41 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 02 Jul 2003 18:51:41 +0000 |
parents | 6dfda4cf5200 |
children | d7f606e25b99 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_range_filter.c +++ b/src/http/modules/ngx_http_range_filter.c @@ -9,7 +9,7 @@ typedef struct { } ngx_http_range_filter_ctx_t; -static int ngx_http_range_filter_init(ngx_pool_t *pool); +static int ngx_http_range_filter_init(ngx_cycle_t *cycle, ngx_log_t *log); static ngx_http_module_t ngx_http_range_filter_module_ctx = { @@ -29,7 +29,9 @@ ngx_module_t ngx_http_range_filter_modu &ngx_http_range_filter_module_ctx, /* module context */ NULL, /* module directives */ NGX_HTTP_MODULE, /* module type */ - ngx_http_range_filter_init /* init module */ + ngx_http_range_filter_init, /* init module */ + NULL, /* commit module */ + NULL /* rollback module */ }; @@ -354,7 +356,7 @@ static int ngx_http_range_body_filter(ng } -static int ngx_http_range_filter_init(ngx_pool_t *pool) +static int ngx_http_range_filter_init(ngx_cycle_t *cycle, ngx_log_t *log) { next_header_filter = ngx_http_top_header_filter; ngx_http_top_header_filter = ngx_http_range_header_filter;