mirror of
https://github.com/nginx/nginx.git
synced 2024-12-05 06:19:01 +08:00
use lowcase only hostname
This commit is contained in:
parent
cd8b43cde7
commit
42b72993c5
@ -204,7 +204,7 @@ ngx_init_cycle(ngx_cycle_t *old_cycle)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ngx_memcpy(cycle->hostname.data, hostname, cycle->hostname.len);
|
||||
ngx_strlow(cycle->hostname.data, (u_char *) hostname, cycle->hostname.len);
|
||||
|
||||
|
||||
for (i = 0; ngx_modules[i]; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user