Skip to content
Commit 97b83ffc authored by Stig Bjørlykke's avatar Stig Bjørlykke Committed by Jukka Rissanen
Browse files

net: sockets: Check for errors from dns_get_addr_info



When dns_get_addr_info() returns an error it does not call the
resolve callback, and thus the semaphore will not be given.

This fix will avoid a deadlock situation for various errors.

Added some small tests for getaddrinfo().

Signed-off-by: default avatarStig Bjørlykke <stig.bjorlykke@nordicsemi.no>
parent 5da0d292
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment