diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-06-28 16:00:26 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-06-28 16:00:26 +0000 |
commit | ef809b86c36a9584a15df6caac2eb727ceacc10d (patch) | |
tree | 80dc756ea197b259b159fb9a47b09df1a1eae7f1 /src/core/ngx_string.h | |
parent | f115ebe9c3d57c0b271b03ed931ff42cdef37eb2 (diff) | |
download | nginx-release-0.3.50.tar.gz nginx-release-0.3.50.zip |
nginx-0.3.50-RELEASE importrelease-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.
Diffstat (limited to 'src/core/ngx_string.h')
-rw-r--r-- | src/core/ngx_string.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h index 818a290d1..10f87ae93 100644 --- a/src/core/ngx_string.h +++ b/src/core/ngx_string.h @@ -146,7 +146,8 @@ void ngx_md5_text(u_char *text, u_char *md5); void ngx_encode_base64(ngx_str_t *dst, ngx_str_t *src); ngx_int_t ngx_decode_base64(ngx_str_t *dst, ngx_str_t *src); -size_t ngx_utf_length(ngx_str_t *utf); +uint32_t ngx_utf_decode(u_char **p, size_t n); +size_t ngx_utf_length(u_char *p, size_t n); u_char * ngx_utf_cpystrn(u_char *dst, u_char *src, size_t n); |