nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

libc/netdb: Separate IPv4 and IPv6 cache size limit

Open SPRESENSE opened this issue 1 year ago • 2 comments

Summary

Some domains have a lot of IPv6 addresses. Because of that, it is not possible to get the IPv4 address with getaddrinfo. This change separate IPv4 and IPv6 cache size limit to enable to get both IP addresses.

Impact

API for name resolution such as getaddrinfo.

Testing

Test with Spresense LTE board.

SPRESENSE avatar Aug 20 '24 01:08 SPRESENSE

@SPRESENSE did you get IPv4 and IPv6 working at same time? Enabling support for both and trying to connect to IPv4 servers and IPv6 servers?

acassis avatar Aug 23 '24 19:08 acassis

Seems like some defconfigs have to be normalized

pkarashchenko avatar Aug 26 '24 21:08 pkarashchenko

@SPRESENSE did you get IPv4 and IPv6 working at same time? Enabling support for both and trying to connect to IPv4 servers and IPv6 servers?

Yes. Sorry for the delay in replying.

SPRESENSE avatar Sep 02 '24 10:09 SPRESENSE

Seems like some defconfigs have to be normalized

@pkarashchenko I have modified defconfig, please confirm.

SPRESENSE avatar Sep 02 '24 10:09 SPRESENSE