diff options
author | Linus Nordberg <linus@nordu.net> | 2012-04-25 17:41:27 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2012-04-25 17:41:27 +0200 |
commit | 19b5ce7ac3f838e689ae6e6b1e4a0c114b44ce67 (patch) | |
tree | 8b1cf80d30846833111d1e6733a8031408fb2321 /hostport.c | |
parent | 41ca60fee8c14f74af22bbeeda56574e883c21a9 (diff) |
Postpone resolving of DNS names of server.
We used to resolve DNS names when reading configuration. We now do it
in event_init_socket() and cache the result in the connection object.
The imminent need for changing this is to keep host names around for
X509 certificate verification (CNAME and subjectAltName). This will
also help later when we implement server failover (and later, when
people want to do more dynamic configuration, f.ex. NAPTR).
Diffstat (limited to 'hostport.c')
0 files changed, 0 insertions, 0 deletions