mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
More lenient checks.
git-svn-id: file:///svn/unbound/trunk@1691 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
7bd415ffdd
commit
d453b4a43b
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,6 @@
|
|||
30 June 2009: Wouter
|
||||
- more lenient truncation checks.
|
||||
|
||||
29 June 2009: Wouter
|
||||
- ldns trunk r2959 imported as tarball, because of solaris cc compile
|
||||
support for c99. r2960 for better configure.
|
||||
|
|
|
|||
|
|
@ -1490,7 +1490,8 @@ processValidate(struct module_qstate* qstate, struct val_qstate* vq,
|
|||
/* workaround bad recursor out there that truncates (even
|
||||
* with EDNS4k) to 512 by removing RRSIG from auth section
|
||||
* for positive replies*/
|
||||
if(subtype == VAL_CLASS_POSITIVE &&
|
||||
if((subtype == VAL_CLASS_POSITIVE || subtype == VAL_CLASS_ANY
|
||||
|| subtype == VAL_CLASS_CNAME) &&
|
||||
detect_wrongly_truncated(vq->orig_msg->rep)) {
|
||||
/* truncate the message some more */
|
||||
vq->orig_msg->rep->ns_numrrsets = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue