mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2026-02-14 23:19:01 +00:00
729c16a8ace49d472bc29cc37f87ca39ade920b6
This fixes the plethora of 64k buffers that got allocated when doing DNSSEC over TCP. By using the UDP buffer is pass the query into tcp_talk() and allowing tcp_talk to allocate its output buffer one the size of the reply is known, we only need to allocate as much memory as is required. The final reply to the TCP query still needs the 64k buffer because answer_request() and answer_auth() are not capable of extending their output buffers.
Description
No description provided
Languages
C
94.3%
Perl
2.2%
HTML
1.2%
Shell
1.1%
Makefile
0.6%
Other
0.6%