curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: considered bad

From: Daniel Stenberg via curl-library <>
Date: Wed, 13 Jan 2021 09:37:34 +0100 (CET)

On Fri, 8 Jan 2021, Daniel Stenberg via curl-library wrote:


Step one for this journey is in PR 6425 [1].

It converts *a lot* of internal APIs to use 'struct Curl_easy *' instead of or
in addition to 'struct connectdata *'.

I'm going to make sure the PR goes green in the CI tests (minus the flaky
tests), then clean up/squash the commits sensibly and then land it - maybe
within a few days. This PR currently reduces the amount of 'conn->data' use in
the code to less than half than before (from 919 to 392).

Working on this PR I get a really good feel for this new world order. I think
it will help us keep better track of tranfers vs connections in the code. More

I think the remaining references can be done as smaller PRs.

[1] =

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2021-01-13