Mercurial > hg > nginx
comparison src/core/ngx_string.h @ 477:ad1e9ebf93bb release-0.1.13
nginx-0.1.13-RELEASE import
*) Feature: the server_names_hash and server_names_hash_threshold
directives.
*) Bugfix: the *.domain.tld names in the "server_name" directive did
not work.
*) Bugfix: the %request_length log parameter logged the incorrect
length.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 21 Dec 2004 12:30:30 +0000 |
parents | a88a3e4e158f |
children | c52408583801 |
comparison
equal
deleted
inserted
replaced
476:7e8b84ab09e9 | 477:ad1e9ebf93bb |
---|---|
18 } ngx_str_t; | 18 } ngx_str_t; |
19 | 19 |
20 | 20 |
21 #define ngx_string(str) { sizeof(str) - 1, (u_char *) str } | 21 #define ngx_string(str) { sizeof(str) - 1, (u_char *) str } |
22 #define ngx_null_string { 0, NULL } | 22 #define ngx_null_string { 0, NULL } |
23 | |
24 | |
25 #define ngx_tolower(c) (u_char) ((c >= 'A' && c <= 'Z') ? (c | 0x20) : c) | |
23 | 26 |
24 | 27 |
25 #if (NGX_WIN32) | 28 #if (NGX_WIN32) |
26 | 29 |
27 #define ngx_strncasecmp(s1, s2, n) \ | 30 #define ngx_strncasecmp(s1, s2, n) \ |