1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00
curl/lib/vtls
Daniel Stenberg 215db086e0
lib: pass in 'struct Curl_easy *' to most functions
... in most cases instead of 'struct connectdata *' but in some cases in
addition to.

- We mostly operate on transfers and not connections.

- We need the transfer handle to log, store data and more. Everything in
  libcurl is driven by a transfer (the CURL * in the public API).

- This work clarifies and separates the transfers from the connections
  better.

- We should avoid "conn->data". Since individual connections can be used
  by many transfers when multiplexing, making sure that conn->data
  points to the current and correct transfer at all times is difficult
  and has been notoriously error-prone over the years. The goal is to
  ultimately remove the conn->data pointer for this reason.

Closes #6425
2021-01-17 23:56:09 +01:00
..
bearssl.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
bearssl.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
gskit.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
gskit.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
gtls.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
gtls.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
keylog.c curl.se: new home 2020-11-04 23:59:47 +01:00
keylog.h curl.se: new home 2020-11-04 23:59:47 +01:00
mbedtls_threadlock.c curl.se: new home 2020-11-04 23:59:47 +01:00
mbedtls_threadlock.h curl.se: new home 2020-11-04 23:59:47 +01:00
mbedtls.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
mbedtls.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
mesalink.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
mesalink.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
nss.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
nssg.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
openssl.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
openssl.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
schannel_verify.c schannel_verify: fix safefree call typo 2021-01-15 10:16:17 +01:00
schannel.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
schannel.h curl.se: new home 2020-11-04 23:59:47 +01:00
sectransp.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
sectransp.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
vtls.c vtls: remove Curl_ prefix from static functions 2021-01-14 08:09:09 +01:00
vtls.h curl.se: new home 2020-11-04 23:59:47 +01:00
wolfssl.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
wolfssl.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00