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.
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h
index 51e0fd0..d0b87e0 100644
--- a/src/core/ngx_string.h
+++ b/src/core/ngx_string.h
@@ -22,6 +22,9 @@
#define ngx_null_string { 0, NULL }
+#define ngx_tolower(c) (u_char) ((c >= 'A' && c <= 'Z') ? (c | 0x20) : c)
+
+
#if (NGX_WIN32)
#define ngx_strncasecmp(s1, s2, n) \