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

 https://github.com/curl/curl/wiki/conn.data-considered-bad

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 controlled.

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

[1] = https://github.com/curl/curl/pull/6425

--

 / daniel.haxx.se
 | Commercial curl support up to 24x7 is available!
 | Private help, bug fixes, support, ports, new features
 | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to