aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-12-17 18:08:24 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-12-17 18:08:24 +0000
commit9752886d5dde4b2295d3b7b91e3ea23416eea641 (patch)
tree5c740aa3077f39c2615be7fe8309e9af93923ecf /contrib
parentd8519d5e744362e7ed950d7095b4269fc230cb1b (diff)
downloadrspamd-9752886d5dde4b2295d3b7b91e3ea23416eea641.tar.gz
rspamd-9752886d5dde4b2295d3b7b91e3ea23416eea641.zip
[Minor] Increase EDNS0 max packet size to couple with some poor TXT records
Diffstat (limited to 'contrib')
-rw-r--r--contrib/librdns/dns_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/librdns/dns_private.h b/contrib/librdns/dns_private.h
index 76bfba8fe..19729f1e6 100644
--- a/contrib/librdns/dns_private.h
+++ b/contrib/librdns/dns_private.h
@@ -34,7 +34,7 @@
static const int dns_port = 53;
static const int default_io_cnt = 8;
-#define UDP_PACKET_SIZE 4096
+#define UDP_PACKET_SIZE (4096 * 2)
#define DNS_COMPRESSION_BITS 0xC0