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.
This commit is contained in:
Jilles Tjoelker 2008-06-20 01:49:53 +02:00
parent 3e6a6891a1
commit 8813d184e3
1 changed files with 5 additions and 0 deletions

View File

@ -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.