Mercurial > hg > nginx
comparison src/http/ngx_http_copy_filter.c @ 346:55e496a8ece3
nginx-0.0.3-2004-06-06-23:49:18 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 06 Jun 2004 19:49:18 +0000 |
parents | 6bdf858bff8c |
children | fa72605e7089 |
comparison
equal
deleted
inserted
replaced
345:fade4edd61f8 | 346:55e496a8ece3 |
---|---|
73 | 73 |
74 ngx_http_create_ctx(r, ctx, ngx_http_copy_filter_module, | 74 ngx_http_create_ctx(r, ctx, ngx_http_copy_filter_module, |
75 sizeof(ngx_output_chain_ctx_t), NGX_ERROR); | 75 sizeof(ngx_output_chain_ctx_t), NGX_ERROR); |
76 | 76 |
77 ctx->sendfile = r->sendfile; | 77 ctx->sendfile = r->sendfile; |
78 ctx->need_in_memory = r->filter & NGX_HTTP_FILTER_NEED_IN_MEMORY; | 78 ctx->need_in_memory = r->filter_need_in_memory; |
79 ctx->need_in_temp = r->filter & NGX_HTTP_FILTER_NEED_TEMP; | 79 ctx->need_in_temp = r->filter_need_temporary; |
80 | 80 |
81 ctx->pool = r->pool; | 81 ctx->pool = r->pool; |
82 ctx->bufs = conf->bufs; | 82 ctx->bufs = conf->bufs; |
83 ctx->tag = (ngx_buf_tag_t) &ngx_http_copy_filter_module; | 83 ctx->tag = (ngx_buf_tag_t) &ngx_http_copy_filter_module; |
84 | 84 |