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:
parent
3e6a6891a1
commit
8813d184e3
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue