comparison src/core/ngx_string.h @ 206:3866d57d9cfd NGINX_0_3_50

nginx 0.3.50 *) Change: the "proxy_redirect_errors" and "fastcgi_redirect_errors" directives was renamed to the "proxy_intercept_errors" and "fastcgi_intercept_errors" directives. *) Feature: the ngx_http_charset_module supports the recoding from the single byte encodings to the UTF-8 encoding and back. *) Feature: the "X-Accel-Charset" response header line is supported in proxy and FastCGI mode. *) Bugfix: the "\" escape symbol in the "\"" and "\'" pairs in the SSI command was removed only if the command also has the "$" symbol. *) Bugfix: the "<!--" string might be added on some conditions in the SSI after inclusion. *) Bugfix: if the "Content-Length: 0" header line was in response, then in nonbuffered proxying mode the client connection was not closed.
author Igor Sysoev <http://sysoev.ru>
date Wed, 28 Jun 2006 00:00:00 +0400
parents e6da4931e0e0
children 052a7b1d40e5
comparison
equal deleted inserted replaced
205:e53bd15c244a 206:3866d57d9cfd
144 #define ngx_base64_decoded_length(len) (((len + 3) / 4) * 3) 144 #define ngx_base64_decoded_length(len) (((len + 3) / 4) * 3)
145 145
146 void ngx_encode_base64(ngx_str_t *dst, ngx_str_t *src); 146 void ngx_encode_base64(ngx_str_t *dst, ngx_str_t *src);
147 ngx_int_t ngx_decode_base64(ngx_str_t *dst, ngx_str_t *src); 147 ngx_int_t ngx_decode_base64(ngx_str_t *dst, ngx_str_t *src);
148 148
149 size_t ngx_utf_length(ngx_str_t *utf); 149 uint32_t ngx_utf_decode(u_char **p, size_t n);
150 size_t ngx_utf_length(u_char *p, size_t n);
150 u_char * ngx_utf_cpystrn(u_char *dst, u_char *src, size_t n); 151 u_char * ngx_utf_cpystrn(u_char *dst, u_char *src, size_t n);
151 152
152 153
153 #define NGX_ESCAPE_URI 0 154 #define NGX_ESCAPE_URI 0
154 #define NGX_ESCAPE_ARGS 1 155 #define NGX_ESCAPE_ARGS 1