On 9/7/19 12:37 AM, enh via Toybox wrote: > 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.
I don't want that on the stack for nommu systems. (64k is a common nommu total process stack size, since it has to be a single contiguous allocation that is preallocated whether it's used or not.) As for maxdname, 4.3bsd had it as 256, it's currently 1025 (gratuitously NOT a power of 2?) and at that rate of growth I don't particularly want it on the stack either. Rob _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
