fix EDNS1480.

git-svn-id: file:///svn/unbound/trunk@2496 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2011-09-16 10:04:08 +00:00
parent 164f86e377
commit c4cac78f10
2 changed files with 2 additions and 0 deletions

View file

@ -2,6 +2,7 @@
- fix bug #408: accept patch from Steve Snyder that comments out - fix bug #408: accept patch from Steve Snyder that comments out
unused functions in lookup3.c. unused functions in lookup3.c.
- iana portlist updated. - iana portlist updated.
- fix EDNS1480 change memleak and TCP fallback.
15 September 2011: Wouter 15 September 2011: Wouter
- release 1.4.13. - release 1.4.13.

View file

@ -1694,6 +1694,7 @@ serviced_udp_callback(struct comm_point* c, void* arg, int error,
/* fallback to TCP */ /* fallback to TCP */
/* this discards partial UDP contents */ /* this discards partial UDP contents */
if(sq->status == serviced_query_UDP_EDNS || if(sq->status == serviced_query_UDP_EDNS ||
sq->status == serviced_query_UDP_EDNS_FRAG ||
sq->status == serviced_query_UDP_EDNS_fallback) sq->status == serviced_query_UDP_EDNS_fallback)
/* if we have unfinished EDNS_fallback, start again */ /* if we have unfinished EDNS_fallback, start again */
sq->status = serviced_query_TCP_EDNS; sq->status = serviced_query_TCP_EDNS;