Mercurial > hg > nginx
comparison src/http/ngx_http_write_filter.c @ 290:87e73f067470
nginx-0.0.2-2004-03-16-10:10:12 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Mar 2004 07:10:12 +0000 |
parents | 70e1c7d2b83d |
children | 00c5660d2707 |
comparison
equal
deleted
inserted
replaced
289:0750faf8d7e3 | 290:87e73f067470 |
---|---|
4 #include <ngx_event.h> | 4 #include <ngx_event.h> |
5 #include <ngx_http.h> | 5 #include <ngx_http.h> |
6 | 6 |
7 | 7 |
8 typedef struct { | 8 typedef struct { |
9 ssize_t postpone_output; | 9 size_t postpone_output; |
10 } ngx_http_write_filter_conf_t; | 10 } ngx_http_write_filter_conf_t; |
11 | 11 |
12 | 12 |
13 typedef struct { | 13 typedef struct { |
14 ngx_chain_t *out; | 14 ngx_chain_t *out; |
169 | 169 |
170 ngx_test_null(conf, | 170 ngx_test_null(conf, |
171 ngx_palloc(cf->pool, sizeof(ngx_http_write_filter_conf_t)), | 171 ngx_palloc(cf->pool, sizeof(ngx_http_write_filter_conf_t)), |
172 NULL); | 172 NULL); |
173 | 173 |
174 conf->postpone_output = NGX_CONF_UNSET; | 174 conf->postpone_output = NGX_CONF_UNSET_SIZE; |
175 | 175 |
176 return conf; | 176 return conf; |
177 } | 177 } |
178 | 178 |
179 | 179 |