- Fix #4225: clients seem to erroneously receive no answer with

DNS-over-TLS and qname-minimisation.


git-svn-id: file:///svn/unbound/trunk@5108 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2019-02-08 15:05:24 +00:00
parent 429e130768
commit cae8361dcd
2 changed files with 8 additions and 0 deletions

View file

@ -2,6 +2,8 @@
- Fix #4206: OpenSSL 1.0.2 hostname verification for FreeBSD 11.2. - Fix #4206: OpenSSL 1.0.2 hostname verification for FreeBSD 11.2.
- Fix that qname minimisation does not skip a label when missing - Fix that qname minimisation does not skip a label when missing
nameserver targets need to be fetched. nameserver targets need to be fetched.
- Fix #4225: clients seem to erroneously receive no answer with
DNS-over-TLS and qname-minimisation.
4 February 2019: Wouter 4 February 2019: Wouter
- Fix that log-replies prints the correct name for local-alias - Fix that log-replies prints the correct name for local-alias

View file

@ -1779,6 +1779,12 @@ tcp_req_info_handle_readdone(struct tcp_req_info* req)
/* If mesh failed(mallocfail) and called commpoint_send_reply with /* If mesh failed(mallocfail) and called commpoint_send_reply with
* something like servfail then we pick up that reply below. */ * something like servfail then we pick up that reply below. */
if(req->is_reply) { if(req->is_reply) {
/* reply from mesh is in the spool_buffer */
sldns_buffer_clear(c->buffer);
sldns_buffer_write(c->buffer,
sldns_buffer_begin(req->spool_buffer),
sldns_buffer_limit(req->spool_buffer));
sldns_buffer_flip(c->buffer);
goto send_it; goto send_it;
} }