comparison src/core/ngx_string.h @ 72:b31656313b59 NGINX_0_1_36

nginx 0.1.36 *) Change: if the request header has duplicate the "Host", "Connection", "Content-Length", or "Authorization" lines, then nginx now returns the 400 error. *) Change: the "post_accept_timeout" directive was canceled. *) Feature: the "default", "af=", "bl=", "deferred", and "bind" parameters of the "listen" directive. *) Feature: the FreeBSD accept filters support. *) Feature: the Linux TCP_DEFER_ACCEPT support. *) Bugfix: the ngx_http_autoindex_module did not support the file names in UTF-8. *) Bugfix: the new log file can be rotated by the -USR1 signal only if the reconfiguration by the -HUP signal was made twice.
author Igor Sysoev <http://sysoev.ru>
date Wed, 15 Jun 2005 00:00:00 +0400
parents 8ad297c88dcb
children da9a3b14312d
comparison
equal deleted inserted replaced
71:66f1f40f29d6 72:b31656313b59
94 #define ngx_base64_decoded_length(len) (((len + 3) / 4) * 3) 94 #define ngx_base64_decoded_length(len) (((len + 3) / 4) * 3)
95 95
96 void ngx_encode_base64(ngx_str_t *dst, ngx_str_t *src); 96 void ngx_encode_base64(ngx_str_t *dst, ngx_str_t *src);
97 ngx_int_t ngx_decode_base64(ngx_str_t *dst, ngx_str_t *src); 97 ngx_int_t ngx_decode_base64(ngx_str_t *dst, ngx_str_t *src);
98 98
99 size_t ngx_utf_length(ngx_str_t *utf);
99 100
100 #define NGX_ESCAPE_URI 0 101 #define NGX_ESCAPE_URI 0
101 #define NGX_ESCAPE_ARGS 1 102 #define NGX_ESCAPE_ARGS 1
102 #define NGX_ESCAPE_HTML 2 103 #define NGX_ESCAPE_HTML 2
103 #define NGX_ESCAPE_UTF 3
104 104
105 uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size, 105 uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size,
106 ngx_uint_t type); 106 ngx_uint_t type);
107 107
108 108