-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(examples): Timeout waiting for IP addresses in protocol_examples_…
…common For example, in case a unique local address is preferred (via sdkconfig) but not available on the network, this patch prevents initialisation from hanging indefinitely. Instead, we wait up to 10s for an IPv4 address and another 10s for the preferred type of IPv6 address. In case of timeout, a warning is logged and the program continues.
- Loading branch information
1 parent
d7ca8b9
commit 55f0ed6
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters