Skip to content

Move async resolver state from easy handle to connectdata#12198

Closed
icing wants to merge 1 commit into
curl:masterfrom
icing:resolve-async-conn
Closed

Move async resolver state from easy handle to connectdata#12198
icing wants to merge 1 commit into
curl:masterfrom
icing:resolve-async-conn

Conversation

@icing

@icing icing commented Oct 25, 2023

Copy link
Copy Markdown
Contributor
  • resolving is done for a connection, not for every transfer
  • save create/dup/free of a cares channel for each transfer
  • check values of setopt calls against a local channel if no connection has been attached yet, when needed.

- resolving is done for a connection, not for every transfer
- save create/dup/free of a cares channel for each transfer
- check values of setopt calls against a local channel if no
  connection has been attached yet, when needed.
@icing icing added the tidy-up label Oct 25, 2023
@icing icing requested a review from bagder October 26, 2023 08:23
@bagder

bagder commented Oct 27, 2023

Copy link
Copy Markdown
Member

Unfortunately this introduced a torture test fail. On my machine this crashes:

$ ./runtests.pl -t41 -n 534

@bagder

bagder commented Oct 27, 2023

Copy link
Copy Markdown
Member

in a c-ares build I should add

@bagder

bagder commented Oct 27, 2023

Copy link
Copy Markdown
Member

Follow-up in #12219

bagder added a commit that referenced this pull request Dec 14, 2023
…tdata"

This reverts commit 56a4db2 (#12198)

We want the c-ares channel to be held in the easy handle, not per
connection - for performance.
bagder added a commit that referenced this pull request Dec 15, 2023
…tdata"

This reverts commit 56a4db2 (#12198)

We want the c-ares channel to be held in the easy handle, not per
connection - for performance.

Closes #12524
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants