diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-11-23 08:32:41 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-11-23 16:16:16 +0100 |
commit | a95a6ce6b809693a1195e3b4347a6cfa0fbc2ee7 (patch) | |
tree | 5f0b777ade4540e7c622b6ad2d2126d920dafa6b /docs | |
parent | 5c8849cede5577b8b23c3b1d75c03923ce034061 (diff) | |
download | curl-a95a6ce6b809693a1195e3b4347a6cfa0fbc2ee7.tar.gz |
urldata: remove 'void *protop' and create the union 'p'
... to avoid the use of 'void *' for the protocol specific structs done
per transfer.
Closes #6238
Diffstat (limited to 'docs')
-rw-r--r-- | docs/INTERNALS.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/INTERNALS.md b/docs/INTERNALS.md index 761c14286..31f718c42 100644 --- a/docs/INTERNALS.md +++ b/docs/INTERNALS.md @@ -983,8 +983,8 @@ for older and later versions as things don't change drastically that often. protocol specific data that then gets associated with that `Curl_easy` for the rest of this transfer. It gets freed again at the end of the transfer. It will be called before the `connectdata` for the transfer has been - selected/created. Most protocols will allocate its private - `struct [PROTOCOL]` here and assign `Curl_easy->req.protop` to point to it. + selected/created. Most protocols will allocate its private `struct + [PROTOCOL]` here and assign `Curl_easy->req.p.[protocol]` to it. `->connect_it` allows a protocol to do some specific actions after the TCP connect is done, that can still be considered part of the connection phase. |