Connections now wait for hosts to be resolved. Delayed connect attempt
authorAdam Dickmeiss <adam@indexdata.dk>
Sun, 22 Apr 2007 16:41:42 +0000 (16:41 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Sun, 22 Apr 2007 16:41:42 +0000 (16:41 +0000)
commitf030fa5726d942a82ffebb2ee22e35338ccfed78
tree1da4dd993ab38a4ed9389d96202272a19b53e765
parenta3653d95470cd9b5d587b846052691c8db2c93c4
Connections now wait for hosts to be resolved. Delayed connect attempt
is handled by connect_resolver_host. All connection with bad addresses
(unresolved ones) are destroyed with connection_destroy. Connect
failures leave the connections in the open. If that's to be changed
connection_destroy should be called if connection_connect returns -1.
src/getaddrinfo.c
src/logic.c
src/pazpar2.h