mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
libs/libc/netdb/lib_dnsbind.c: Make DNS recevie timeout configurable.
This commit is contained in:
@@ -54,6 +54,13 @@ menuconfig NETDB_DNSCLIENT
|
||||
|
||||
if NETDB_DNSCLIENT
|
||||
|
||||
config NETDB_DNSCLIENT_RECV_TIMEOUT
|
||||
int "DNS receive tiemout"
|
||||
default 30
|
||||
---help---
|
||||
This the timeout value when DNS receive response after
|
||||
dns_send_query, unit: seconds
|
||||
|
||||
config NETDB_DNSCLIENT_ENTRIES
|
||||
int "Number of DNS resolver entries"
|
||||
default 0 if DEFAULT_SMALL
|
||||
|
||||
Reference in New Issue
Block a user