This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 0a567c3c29 change the default NETDB_DNSCLIENT_MAXRESPONSE to the
standard length
0a567c3c29 is described below
commit 0a567c3c29b76d28fd8dbfe6e21c147334d79c68
Author: wangyingdong <[email protected]>
AuthorDate: Mon Aug 28 12:03:57 2023 +0800
change the default NETDB_DNSCLIENT_MAXRESPONSE to the standard length
the size of the dns response buffer
https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-respsize-12
Signed-off-by: wangyingdong <[email protected]>
---
libs/libc/netdb/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/libc/netdb/Kconfig b/libs/libc/netdb/Kconfig
index 840195d13c..797ceaceb6 100644
--- a/libs/libc/netdb/Kconfig
+++ b/libs/libc/netdb/Kconfig
@@ -116,7 +116,7 @@ config NETDB_DNSCLIENT_LIFESEC
config NETDB_DNSCLIENT_MAXRESPONSE
int "Max response size"
- default NETDB_BUFSIZE
+ default 512
---help---
This setting determines the maximum size of response message
that
can be received by the DNS resolver. The default used to be 96,