mirror of
https://github.com/nginx/nginx.git
synced 2025-06-12 21:52:41 +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;
|
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++) {
|
for (i = 0; ngx_modules[i]; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user