mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 22:31:28 +02: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
@ -30,7 +30,7 @@
|
|||||||
*/
|
*/
|
||||||
#define DNS_MAX_LABEL_SIZE 63
|
#define DNS_MAX_LABEL_SIZE 63
|
||||||
#define DNS_MAX_NAME_SIZE 255
|
#define DNS_MAX_NAME_SIZE 255
|
||||||
#define DNS_MAX_UDP_MESSAGE 4096
|
#define DNS_MAX_UDP_MESSAGE 512
|
||||||
|
|
||||||
/* DNS error messages */
|
/* DNS error messages */
|
||||||
#define DNS_TOO_LONG_FQDN "hostname too long"
|
#define DNS_TOO_LONG_FQDN "hostname too long"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user