clients with different EDNS parameters, from Jinmei Tatuya.
git-svn-id: file:///svn/unbound/trunk@3888
be551aaa-1e26-0410-a405-
d3ace91eadb9
- Removed patch comments from acllist.c and msgencode.c
- Added documentation doc/CNAME-basedRedirectionDesignNotes.pdf,
from Jinmei Tatuya (Infoblox).
+ - Fix #1125: unbound could reuse an answer packet incorrectly for
+ clients with different EDNS parameters, from Jinmei Tatuya.
17 October 2016: Wouter
- Re-fix #839 from view commit overwrite.
struct timeval end_time;
struct timeval duration;
int secure;
- /* Copy the client's EDNS for later restore to fix a bug of the
- * original code. See unbound bug #1125. Once NLNet Labs fixes it
- * we should replace this local fix with the upstream one. */
+ /* Copy the client's EDNS for later restore, to make sure the edns
+ * compare is with the correct edns options. */
struct edns_data edns_bak = r->edns;
/* examine security status */
if(m->s.env->need_to_validate && (!(r->qflags&BIT_CD) ||