You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gu...@apache.org on 2021/10/25 22:50:27 UTC

[incubator-nuttx] branch master updated (2abe1e9 -> 3724f6b)

This is an automated email from the ASF dual-hosted git repository.

gustavonihei pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


    from 2abe1e9  configure/sethost: Add BSD host (-B switch) + MAKECMD (make vs gmake).
     new c4472b6  libc/netdb: Change default of NETDB_DNSCLIENT_MAXRESPONSE to NETDB_BUFSIZE
     new 3724f6b  lib/netdb: Change the default NETDB_DNSCLIENT_NAMESIZE to NAME_MAX

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 libs/libc/netdb/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

[incubator-nuttx] 02/02: lib/netdb: Change the default NETDB_DNSCLIENT_NAMESIZE to NAME_MAX

Posted by gu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gustavonihei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 3724f6be557525a550f35fe2942f10c1d06f27c2
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Mon Oct 25 20:08:43 2021 +0800

    lib/netdb: Change the default NETDB_DNSCLIENT_NAMESIZE to NAME_MAX
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 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 4e59f85..0975472 100644
--- a/libs/libc/netdb/Kconfig
+++ b/libs/libc/netdb/Kconfig
@@ -83,7 +83,7 @@ config NETDB_DNSCLIENT_ENTRIES
 
 config NETDB_DNSCLIENT_NAMESIZE
 	int "Max size of a cached hostname"
-	default 32
+	default NAME_MAX
 	---help---
 		The size of a hostname string in the DNS resolver cache is fixed.
 		This setting provides the maximum size of a hostname.  Names longer

[incubator-nuttx] 01/02: libc/netdb: Change default of NETDB_DNSCLIENT_MAXRESPONSE to NETDB_BUFSIZE

Posted by gu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gustavonihei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit c4472b64cb96b10b2b3143a91f1a72913f7a3fe6
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Mon Oct 25 20:03:01 2021 +0800

    libc/netdb: Change default of NETDB_DNSCLIENT_MAXRESPONSE to NETDB_BUFSIZE
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 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 b20cf8d..4e59f85 100644
--- a/libs/libc/netdb/Kconfig
+++ b/libs/libc/netdb/Kconfig
@@ -104,7 +104,7 @@ config NETDB_DNSCLIENT_LIFESEC
 
 config NETDB_DNSCLIENT_MAXRESPONSE
 	int "Max response size"
-	default 256
+	default NETDB_BUFSIZE
 	---help---
 		This setting determines the maximum size of response message that
 		can be received by the DNS resolver.  The default used to be 96,