From 6bb4fb832be69abbc97b200cbdc49f8c924cf451 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Fri, 20 Jun 2008 01:49:53 +0200 Subject: [PATCH] Do not timeout unknowns if still waiting for blacklist lookup. This fixes inability to connect if all DNS queries time out and any blacklists are defined. --- src/client.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/client.c b/src/client.c index 88ebce71..34465e30 100644 --- a/src/client.c +++ b/src/client.c @@ -373,6 +373,11 @@ check_unknowns_list(rb_dlink_list * list) if(IsDead(client_p) || IsClosing(client_p)) continue; + /* still has DNSbls to validate against */ + if(client_p->preClient != NULL && + rb_dlink_list_length(&client_p->preClient->dnsbl_queries) > 0) + continue; + /* * Check UNKNOWN connections - if they have been in this state * for > 30s, close them.