1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 00:58:48 -05:00
curl/lib/vquic
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
..
ngtcp2.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
ngtcp2.h ngtcp2: make it build it current master again 2020-12-10 08:57:07 +01:00
quiche.c lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
quiche.h quiche: close the connection 2020-12-02 22:50:39 +01:00
vquic.c curl.se: new home 2020-11-04 23:59:47 +01:00
vquic.h curl.se: new home 2020-11-04 23:59:47 +01:00