comparison src/http/ngx_http_write_filter.c @ 166:389d7ee9fa60

nginx-0.0.1-2003-10-30-11:51:06 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 30 Oct 2003 08:51:06 +0000
parents 46eb23d9471d
children 4db54fdbcbe7
comparison
equal deleted inserted replaced
165:894a01c6aea3 166:389d7ee9fa60
19 static char *ngx_http_write_filter_merge_conf(ngx_conf_t *cf, 19 static char *ngx_http_write_filter_merge_conf(ngx_conf_t *cf,
20 void *parent, void *child); 20 void *parent, void *child);
21 static int ngx_http_write_filter_init(ngx_cycle_t *cycle); 21 static int ngx_http_write_filter_init(ngx_cycle_t *cycle);
22 22
23 23
24 static ngx_command_t ngx_http_write_filter_commands[] = { 24 static ngx_command_t ngx_http_write_filter_commands[] = {
25 25
26 {ngx_string("buffer_output"), 26 { ngx_string("buffer_output"),
27 NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, 27 NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
28 ngx_conf_set_size_slot, 28 ngx_conf_set_size_slot,
29 NGX_HTTP_LOC_CONF_OFFSET, 29 NGX_HTTP_LOC_CONF_OFFSET,
30 offsetof(ngx_http_write_filter_conf_t, buffer_output), 30 offsetof(ngx_http_write_filter_conf_t, buffer_output),
31 NULL}, 31 NULL },
32 32
33 ngx_null_command 33 ngx_null_command
34 }; 34 };
35 35
36 36
37 ngx_http_module_t ngx_http_write_filter_module_ctx = { 37 ngx_http_module_t ngx_http_write_filter_module_ctx = {
38 NULL, /* create main configuration */ 38 NULL, /* create main configuration */