comparison src/http/modules/ngx_http_xslt_filter_module.c @ 2196:fab3fa7339ff

call ngx_http_xslt_filter_exit()
author Igor Sysoev <igor@sysoev.ru>
date Thu, 21 Aug 2008 18:21:40 +0000
parents 0ec936b0010a
children 3e213fa0cbb3
comparison
equal deleted inserted replaced
2195:a953f73273ee 2196:fab3fa7339ff
134 static void *ngx_http_xslt_filter_create_main_conf(ngx_conf_t *cf); 134 static void *ngx_http_xslt_filter_create_main_conf(ngx_conf_t *cf);
135 static void *ngx_http_xslt_filter_create_conf(ngx_conf_t *cf); 135 static void *ngx_http_xslt_filter_create_conf(ngx_conf_t *cf);
136 static char *ngx_http_xslt_filter_merge_conf(ngx_conf_t *cf, void *parent, 136 static char *ngx_http_xslt_filter_merge_conf(ngx_conf_t *cf, void *parent,
137 void *child); 137 void *child);
138 static ngx_int_t ngx_http_xslt_filter_init(ngx_conf_t *cf); 138 static ngx_int_t ngx_http_xslt_filter_init(ngx_conf_t *cf);
139 static void ngx_http_xslt_filter_exit(ngx_cycle_t *cycle);
139 140
140 141
141 ngx_str_t ngx_http_xslt_default_types[] = { 142 ngx_str_t ngx_http_xslt_default_types[] = {
142 ngx_string("text/xml"), 143 ngx_string("text/xml"),
143 ngx_null_string 144 ngx_null_string
194 NULL, /* init master */ 195 NULL, /* init master */
195 NULL, /* init module */ 196 NULL, /* init module */
196 NULL, /* init process */ 197 NULL, /* init process */
197 NULL, /* init thread */ 198 NULL, /* init thread */
198 NULL, /* exit thread */ 199 NULL, /* exit thread */
199 NULL, /* exit process */ 200 ngx_http_xslt_filter_exit, /* exit process */
200 NULL, /* exit master */ 201 ngx_http_xslt_filter_exit, /* exit master */
201 NGX_MODULE_V1_PADDING 202 NGX_MODULE_V1_PADDING
202 }; 203 };
203 204
204 205
205 static ngx_http_output_header_filter_pt ngx_http_next_header_filter; 206 static ngx_http_output_header_filter_pt ngx_http_next_header_filter;