forked from scylladb/seastar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dns: replace deprecated ares_process() with ares_process_fd()
c-ares marked `ares_process()` deprecated in 1.28.1 in this change, we: - update to use ares_process_fd() following c-ares 1.28.1 deprecation - improve code readability: * rename variables for clarity * move variable definition closer to usage. no performance impact caused by this change, as `fd_set` structs remain stack-allocated this change modernizes our c-ares usage and enhances code maintainability without introducing overhead. Refs scylladb#2197 Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
- Loading branch information
Showing
1 changed file
with
32 additions
and
33 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