[Toybox] [PATCH] host: cope with large DNS responses.

enh enh at google.com
Fri Sep 6 22:37:26 PDT 2019


DNS responses were limited to 512 bytes back when they were UDP only,
but if you have a TCP connection you can get up to 64KiB.

Also use the existing constant for the size of rrname.

Also update the help text.

Fixes #56.

Test: `toybox host value.testing.express`
---
 toys/pending/host.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-host-cope-with-large-DNS-responses.patch
Type: text/x-patch
Size: 1499 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190906/34926756/attachment-0002.bin>


More information about the Toybox mailing list