mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-08 10:26:14 -04:00
MINOR: dns: wrong DNS_MAX_UDP_MESSAGE value
Current implementation of HAProxy's DNS resolution expect only 512 bytes of data in the response. Update DNS_MAX_UDP_MESSAGE to match this. Backport: can be backported to 1.6
This commit is contained in:
parent
7819c125c2
commit
d20bbaf093
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@
|
|||
*/
|
||||
#define DNS_MAX_LABEL_SIZE 63
|
||||
#define DNS_MAX_NAME_SIZE 255
|
||||
#define DNS_MAX_UDP_MESSAGE 4096
|
||||
#define DNS_MAX_UDP_MESSAGE 512
|
||||
|
||||
/* DNS error messages */
|
||||
#define DNS_TOO_LONG_FQDN "hostname too long"
|
||||
|
|
|
|||
Loading…
Reference in a new issue