8000 Refactor connection handling by bradh352 · Pull Request #839 · c-ares/c-ares · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Refactor connection handling #839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jul 29, 2024
Merged

Refactor connection handling #839

merged 11 commits into from
Jul 29, 2024

Conversation

bradh352
Copy link
Member

Refactor some connection handling to reduce code duplication and to unify the TCP and UDP codepaths a bit more. This will make some future changes easier to make.

This also does some structure renaming to better conform with current standards:

  • struct server_state -> ares_server_t
  • struct server_connection -> ares_conn_t
  • struct query -> ares_query_t

Authored-by: Brad House (@bradh352)

@bradh352 bradh352 merged commit ac33bdc into c-ares:main Jul 29, 2024
28 of 33 checks passed
@bradh352 bradh352 deleted the conn_refactor branch July 29, 2024 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0