diff options
author | Elliott Hughes <enh@google.com> | 2019-09-06 22:31:48 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-09-07 17:26:51 -0500 |
commit | 4247dca900e08daa6a8a2333baca6136bdbba31d (patch) | |
tree | 107f2c6b6e11453b7c9a9bb4a451c3d431a8f7a2 /tests/demo_number.test | |
parent | acc9e87d164dcb037ab86cd2ecff7262d4b13792 (diff) | |
download | toybox-4247dca900e08daa6a8a2333baca6136bdbba31d.tar.gz |
host: cope with large DNS responses.
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.
Also consistently use `sizeof(T)` rather than `sizeof T`.
Also use consistently use `ARRAY_LEN`.
Fixes #56.
Test: `toybox host value.testing.express`
Diffstat (limited to 'tests/demo_number.test')
0 files changed, 0 insertions, 0 deletions