Skip to content

More modularization for sockets/connections#876

Merged
bradh352 merged 3 commits intoc-ares:mainfrom
bradh352:more_modularization
Sep 8, 2024
Merged

More modularization for sockets/connections#876
bradh352 merged 3 commits intoc-ares:mainfrom
bradh352:more_modularization

Conversation

@bradh352
Copy link
Member

@bradh352 bradh352 commented Sep 6, 2024

Split socket from connection functions for a more clear delineation in functionality. This is needed to support future DNS over TLS.

Also makes the new ares_process_fds() return a status code so we can detect out of memory conditions, this too is going to be needed for handling TLS which is more likely to run into such a situation.

Finally, add in a new ares_htable_vpstr_t type and functions which will be needed as part of TLS session lookups.

Authored-By: Brad House (@bradh352)

@bradh352 bradh352 merged commit e0ef6a8 into c-ares:main Sep 8, 2024
@bradh352 bradh352 deleted the more_modularization branch September 8, 2024 00:20
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