Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use cached discovered records on temporary discovery failure
When client run in endpoint discovery mode (-discover flag), it caches SRV records lookup result on success; if in next time when client starts with the same discover argument it temporarily fails to get SRV records (i.e. network is down), it will use previously cached results instead of failing. This makes case or running client as a service on a laptop that change networks often or may be offline more reliable.
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 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