[core] resolve DNS at startup for socket backends
commit1836309209e1bc4268df02b7aaf06d2e89329581
authorGlenn Strauss <gstrauss@gluelogic.com>
Sat, 15 Jul 2017 22:06:26 +0000 (15 18:06 -0400)
committerGlenn Strauss <gstrauss@gluelogic.com>
Sun, 23 Jul 2017 23:02:30 +0000 (23 19:02 -0400)
tree18fda592bcec14585bbad00631d80dc37c089406
parent0beb8b89d800f0569d6581f469baa64459188955
[core] resolve DNS at startup for socket backends

resolve DNS at startup and use the first IP address returned by resolver

Note: use of IP addresses is recommended instead of using DNS names.
If DNS names are used, but DNS is slow or unavailable, then lighttpd
will either appear to hang at startup or will fail to start up.
src/gw_backend.c
src/inet_ntop_cache.c