-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tcp::resolver data race in the asio backend and be defensive agai…
…nst empty results (#1339) * Move TCP resolver to asio_context rather than asio_client, as that type is not safe to touch from multiple threads. * Defend against empty responses from async_resolve. Co-authored-by: Jinming Hu [email protected]
- Loading branch information
1 parent
43f6f34
commit 0886fcc
Showing
1 changed file
with
18 additions
and
16 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