mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
2784. [bug] TC was not always being set when required glue was
dropped. [RT #234186]
This commit is contained in:
parent
dc92707066
commit
9dd2ee95f1
3
CHANGES
3
CHANGES
@ -1,3 +1,6 @@
|
||||
2784. [bug] TC was not always being set when required glue was
|
||||
dropped. [RT #234186]
|
||||
|
||||
2783. [func] Return minimal responses to EDNS/UDP queries with a UDP
|
||||
buffer size of 512 or less. [RT #20654]
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: message.c,v 1.248 2009/10/26 23:14:54 each Exp $ */
|
||||
/* $Id: message.c,v 1.249 2009/11/24 03:20:02 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@ -1918,6 +1918,8 @@ dns_message_rendersection(dns_message_t *msg, dns_section_t sectionid,
|
||||
msg->counts[sectionid] += total;
|
||||
return (result);
|
||||
}
|
||||
if (result == ISC_R_NOSPACE)
|
||||
msg->flags |= DNS_MESSAGEFLAG_TC;
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
INSIST(st.used < 65536);
|
||||
dns_compress_rollback(msg->cctx,
|
||||
|
Loading…
x
Reference in New Issue
Block a user