comparison src/http/modules/ngx_http_charset_filter_module.c @ 108:cf3d6edb3ad6 NGINX_0_3_1

nginx 0.3.1 *) Bugfix: the segmentation fault occurred when the signal queue overflowed if the "rtsig" method was used; bug appeared in 0.2.0. *) Change: correct handling of the "\\", "\"", "\'", and "\$" pairs in SSI.
author Igor Sysoev <http://sysoev.ru>
date Mon, 10 Oct 2005 00:00:00 +0400
parents 146eff53ab60
children 36af50a5582d
comparison
equal deleted inserted replaced
107:495d867e35e8 108:cf3d6edb3ad6
73 73
74 74
75 static ngx_command_t ngx_http_charset_filter_commands[] = { 75 static ngx_command_t ngx_http_charset_filter_commands[] = {
76 76
77 { ngx_string("charset"), 77 { ngx_string("charset"),
78 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_SIF_CONF 78 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF
79 |NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_CONF_TAKE1, 79 |NGX_HTTP_LIF_CONF|NGX_CONF_TAKE1,
80 ngx_http_set_charset_slot, 80 ngx_http_set_charset_slot,
81 NGX_HTTP_LOC_CONF_OFFSET, 81 NGX_HTTP_LOC_CONF_OFFSET,
82 offsetof(ngx_http_charset_loc_conf_t, charset), 82 offsetof(ngx_http_charset_loc_conf_t, charset),
83 NULL }, 83 NULL },
84 84
85 { ngx_string("source_charset"), 85 { ngx_string("source_charset"),
86 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_SIF_CONF 86 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF
87 |NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_CONF_TAKE1, 87 |NGX_HTTP_LIF_CONF|NGX_CONF_TAKE1,
88 ngx_http_set_charset_slot, 88 ngx_http_set_charset_slot,
89 NGX_HTTP_LOC_CONF_OFFSET, 89 NGX_HTTP_LOC_CONF_OFFSET,
90 offsetof(ngx_http_charset_loc_conf_t, source_charset), 90 offsetof(ngx_http_charset_loc_conf_t, source_charset),
91 NULL }, 91 NULL },
92 92