mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05:00
MINOR: dns: smallest DNS fqdn size
global variable used to define the size of the smallest fqdn possible.
This commit is contained in:
parent
9d41fe7f98
commit
d0aa6d2399
1 changed files with 3 additions and 0 deletions
|
|
@ -35,6 +35,9 @@
|
|||
/* DNS minimun record size: 1 char + 1 NULL + type + class */
|
||||
#define DNS_MIN_RECORD_SIZE ( 1 + 1 + 2 + 2 )
|
||||
|
||||
/* DNS smallest fqdn 'a.gl' size */
|
||||
# define DNS_SMALLEST_FQDN_SIZE 4
|
||||
|
||||
/* maximum number of query records in a DNS response
|
||||
* For now, we allow only one */
|
||||
#define DNS_MAX_QUERY_RECORDS 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue