mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 18:52:07 -04:00
4536. [bug] ISC_SOCKEVENTATTR_USEMINMTU was not being cleared
when reusing the event structure. [RT #43885]
This commit is contained in:
parent
37a8db0ba4
commit
a678e70481
2 changed files with 4 additions and 0 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
4536. [bug] ISC_SOCKEVENTATTR_USEMINMTU was not being cleared
|
||||
when reusing the event structure. [RT #43885]
|
||||
|
||||
4535. [bug] Address race condition in setting / testing of
|
||||
DNS_REQUEST_F_SENDING. [RT #43889]
|
||||
|
||||
|
|
|
|||
|
|
@ -929,6 +929,7 @@ client_sendpkg(ns_client_t *client, isc_buffer_t *buffer) {
|
|||
* MTU link force fragmentation at 1280 if it is a IPv6
|
||||
* response.
|
||||
*/
|
||||
client->sendevent->attributes &= ~ISC_SOCKEVENTATTR_USEMINMTU;
|
||||
if (!TCP_CLIENT(client) && r.length > 1432)
|
||||
client->sendevent->attributes |= ISC_SOCKEVENTATTR_USEMINMTU;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue