23 August 2017: Wouter
- Fix #1407: Add ECS options check to unbound-checkconf.
- make depend
+ - Fix to reclaim tcp handler when it is closed due to dnscrypt buffer
+ allocation failure.
22 August 2017: Wouter
- Fix install of trust anchor when two anchors are present, makes both
c->dnscrypt_buffer = sldns_buffer_new(sldns_buffer_capacity(c->buffer));
if(!c->dnscrypt_buffer) {
log_err("Could not allocate dnscrypt buffer");
+ reclaim_tcp_handler(c);
+ if(!c->tcp_do_close) {
+ fptr_ok(fptr_whitelist_comm_point(
+ c->callback));
+ (void)(*c->callback)(c, c->cb_arg,
+ NETEVENT_CLOSED, NULL);
+ }
return;
}
}