commit | aecd5dcac2cd4cd87639596980c449f887b2ca26 | [log] [tgz] |
---|---|---|
author | William Dauchy <w.dauchy@criteo.com> | Sun Jan 26 19:52:34 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jan 28 13:08:08 2020 +0100 |
tree | 2259b7bab46e488870d1bfb6fa64404e286e745a | |
parent | bd8bf67102d061f777c3e41db206e86bbae60be7 [diff] |
BUG/MINOR: dns: allow 63 char in hostname hostname were limited to 62 char, which is not RFC1035 compliant; - the parsing loop should stop when above max label char - fix len label test where d[i] was wrongly used - simplify the whole function to avoid using two extra char* variable this should fix github issue #387 Signed-off-by: William Dauchy <w.dauchy@criteo.com> Reviewed-by: Tim Duesterhus <tim@bastelstu.be> Acked-by: Baptiste <bedis9@gmail.com>