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
f8a8d16e52
commit
6bb4fb832b
1 changed files with 5 additions and 0 deletions
|
@ -373,6 +373,11 @@ check_unknowns_list(rb_dlink_list * list)
|
||||||
if(IsDead(client_p) || IsClosing(client_p))
|
if(IsDead(client_p) || IsClosing(client_p))
|
||||||
continue;
|
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
|
* Check UNKNOWN connections - if they have been in this state
|
||||||
* for > 30s, close them.
|
* for > 30s, close them.
|
||||||
|
|
Loading…
Reference in a new issue