Mercurial > hg > nginx-quic
comparison src/core/ngx_string.h @ 485:4ebe09b07e30 release-0.1.17
nginx-0.1.17-RELEASE import
*) Change: the ngx_http_rewrite_module was rewritten from the scratch.
Now it is possible to redirect, to return the error codes, to check
the variables and referrers. The directives can be used inside
locations. The redirect directive was canceled.
*) Feature: the ngx_http_geo_module.
*) Feature: the proxy_set_x_var and fastcgi_set_var directives.
*) Bugfix: the location configuration with "=" modifier may be used in
another location.
*) Bugfix: the correct content type was set only for requests that use
small caps letters in extension.
*) Bugfix: if the proxy_pass or fastcgi_pass directives were set in the
location, and access was denied, and the error was redirected to a
static page, then the segmentation fault occurred.
*) Bugfix: if in a proxied "Location" header was a relative URL, then a
host name and a slash were added to them; the bug had appeared in
0.1.14.
*) Bugfix: the system error message was not logged on Linux.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 03 Feb 2005 19:33:37 +0000 |
parents | c52408583801 |
children | 975f62e77f02 |
comparison
equal
deleted
inserted
replaced
484:60452f1c0c62 | 485:4ebe09b07e30 |
---|---|
70 /* msvc and icc compile memcmp() to the inline loop */ | 70 /* msvc and icc compile memcmp() to the inline loop */ |
71 #define ngx_memcmp memcmp | 71 #define ngx_memcmp memcmp |
72 | 72 |
73 | 73 |
74 u_char *ngx_cpystrn(u_char *dst, u_char *src, size_t n); | 74 u_char *ngx_cpystrn(u_char *dst, u_char *src, size_t n); |
75 u_char *ngx_pstrdup(ngx_pool_t *pool, ngx_str_t *src); | |
75 u_char *ngx_sprintf(u_char *buf, const char *fmt, ...); | 76 u_char *ngx_sprintf(u_char *buf, const char *fmt, ...); |
76 u_char *ngx_snprintf(u_char *buf, size_t max, const char *fmt, ...); | 77 u_char *ngx_snprintf(u_char *buf, size_t max, const char *fmt, ...); |
77 u_char *ngx_vsnprintf(u_char *buf, size_t max, const char *fmt, va_list args); | 78 u_char *ngx_vsnprintf(u_char *buf, size_t max, const char *fmt, va_list args); |
78 | 79 |
79 ngx_int_t ngx_rstrncmp(u_char *s1, u_char *s2, size_t n); | 80 ngx_int_t ngx_rstrncmp(u_char *s1, u_char *s2, size_t n); |
91 void ngx_encode_base64(ngx_str_t *dst, ngx_str_t *src); | 92 void ngx_encode_base64(ngx_str_t *dst, ngx_str_t *src); |
92 ngx_int_t ngx_decode_base64(ngx_str_t *dst, ngx_str_t *src); | 93 ngx_int_t ngx_decode_base64(ngx_str_t *dst, ngx_str_t *src); |
93 | 94 |
94 | 95 |
95 #define NGX_ESCAPE_URI 0 | 96 #define NGX_ESCAPE_URI 0 |
96 #define NGX_ESCAPE_HTML 1 | 97 #define NGX_ESCAPE_ARGS 1 |
98 #define NGX_ESCAPE_HTML 2 | |
97 | 99 |
98 ngx_uint_t ngx_escape_uri(u_char *dst, u_char *src, size_t size, | 100 uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size, |
99 ngx_uint_t type); | 101 ngx_uint_t type); |
100 | 102 |
101 | 103 |
102 #define ngx_qsort qsort | 104 #define ngx_qsort qsort |
103 | 105 |
104 | 106 |