Mercurial > hg > nginx
comparison src/http/ngx_http_write_filter.c @ 81:b2ece31c976a
nginx-0.0.1-2003-04-24-18:46:08 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 24 Apr 2003 14:46:08 +0000 |
parents | 57c2e18d3572 |
children | a7e45c45a95c |
comparison
equal
deleted
inserted
replaced
80:939bc7cd9a90 | 81:b2ece31c976a |
---|---|
167 ngx_palloc(pool, sizeof(ngx_http_write_filter_conf_t)), | 167 ngx_palloc(pool, sizeof(ngx_http_write_filter_conf_t)), |
168 NULL); | 168 NULL); |
169 | 169 |
170 conf->buffer_output = NGX_CONF_UNSET; | 170 conf->buffer_output = NGX_CONF_UNSET; |
171 | 171 |
172 ngx_log_debug(pool->log, "write conf %08X %08X" _ conf _ conf->buffer_output); | |
173 | |
174 return conf; | 172 return conf; |
175 } | 173 } |
176 | 174 |
177 | 175 |
178 static char *ngx_http_write_filter_merge_conf(ngx_pool_t *pool, | 176 static char *ngx_http_write_filter_merge_conf(ngx_pool_t *pool, |
183 ngx_http_write_filter_conf_t *conf = | 181 ngx_http_write_filter_conf_t *conf = |
184 (ngx_http_write_filter_conf_t *) child; | 182 (ngx_http_write_filter_conf_t *) child; |
185 | 183 |
186 ngx_conf_size_merge(conf->buffer_output, prev->buffer_output, 1460); | 184 ngx_conf_size_merge(conf->buffer_output, prev->buffer_output, 1460); |
187 | 185 |
188 ngx_log_debug(pool->log, "write merge %08X %08X %08X" _ prev _ conf _ conf->buffer_output); | |
189 | |
190 return NULL; | 186 return NULL; |
191 } | 187 } |
192 | 188 |
193 | 189 |
194 static int ngx_http_write_filter_init(ngx_pool_t *pool) | 190 static int ngx_http_write_filter_init(ngx_pool_t *pool) |