comparison src/core/ngx_string.h @ 294:27d9d1f26b38 NGINX_0_5_17

nginx 0.5.17 *) Change: now nginx always returns the 405 status for the TRACE method. *) Feature: now nginx supports the "include" directive inside the "types" block. *) Bugfix: the $document_root variable usage in the "root" and "alias" directives is disabled: this caused recursive stack overflow. *) Bugfix: in the HTTPS protocol in the "proxy_pass" directive. *) Bugfix: in some cases non-cachable variables (such as $uri variable) returned old cached value.
author Igor Sysoev <http://sysoev.ru>
date Mon, 02 Apr 2007 00:00:00 +0400
parents 5bef04fc3fd5
children 9b7db0df50f0
comparison
equal deleted inserted replaced
293:30378812e3af 294:27d9d1f26b38
38 /* msvc and icc7 compile strcmp() to inline loop */ 38 /* msvc and icc7 compile strcmp() to inline loop */
39 #define ngx_strcmp(s1, s2) strcmp((const char *) s1, (const char *) s2) 39 #define ngx_strcmp(s1, s2) strcmp((const char *) s1, (const char *) s2)
40 40
41 41
42 #define ngx_strstr(s1, s2) strstr((const char *) s1, (const char *) s2) 42 #define ngx_strstr(s1, s2) strstr((const char *) s1, (const char *) s2)
43 #define ngx_strchr(s1, c) strchr((const char *) s1, (int) c)
43 #define ngx_strlen(s) strlen((const char *) s) 44 #define ngx_strlen(s) strlen((const char *) s)
44 45
45 46
46 /* 47 /*
47 * msvc and icc7 compile memset() to the inline "rep stos" 48 * msvc and icc7 compile memset() to the inline "rep stos"