pdns icon indicating copy to clipboard operation
pdns copied to clipboard

DRAFT: auth: avoid overflowing AXFR reply packet

Open zeha opened this issue 2 years ago • 1 comments

Short description

Discussion basis for a potential fix for #11804.

This works with a test zone with very large TXT RRs. It is obviously not a fix for the other sendPacket cases in doAXFR, but if this is mostly acceptable, I will try to dedup the sendPacket callers and handle the "rechunking" in a single place.

Checklist

I have:

  • [ ] read the CONTRIBUTING.md document
  • [ ] compiled this code
  • [ ] tested this code
  • [ ] included documentation (including possible behaviour changes)
  • [ ] documented the code
  • [ ] added or modified regression test(s)
  • [ ] added or modified unit test(s)

zeha avatar May 03 '23 16:05 zeha

I milestoned this for auth 4.9, as something like #12780 seems more fitting for the scope of 4.8

Habbie avatar May 11 '23 12:05 Habbie