- Fix #826: Fix refuse_non_local could result in a broken response.

git-svn-id: file:///svn/unbound/trunk@3841 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2016-09-01 14:34:45 +00:00
parent d57f06e3d8
commit 0143885a41
2 changed files with 2 additions and 0 deletions

View file

@ -773,6 +773,7 @@ deny_refuse(struct comm_point* c, enum acl_access acl,
LDNS_QR_SET(sldns_buffer_begin(c->buffer)); LDNS_QR_SET(sldns_buffer_begin(c->buffer));
LDNS_RCODE_SET(sldns_buffer_begin(c->buffer), LDNS_RCODE_SET(sldns_buffer_begin(c->buffer),
LDNS_RCODE_REFUSED); LDNS_RCODE_REFUSED);
sldns_buffer_flip(c->buffer);
return 1; return 1;
} }

View file

@ -1,6 +1,7 @@
1 September 2016: Wouter 1 September 2016: Wouter
- RFC 7958 is now out, updated docs for unbound-anchor. - RFC 7958 is now out, updated docs for unbound-anchor.
- Fix for compile without warnings with openssl 1.1.0. - Fix for compile without warnings with openssl 1.1.0.
- Fix #826: Fix refuse_non_local could result in a broken response.
29 August 2016: Wouter 29 August 2016: Wouter
- Fix #777: OpenSSL 1.1.0 compatibility, patch from Sebastian A. - Fix #777: OpenSSL 1.1.0 compatibility, patch from Sebastian A.