summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-11-23 08:32:41 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-11-23 16:16:16 +0100
commita95a6ce6b809693a1195e3b4347a6cfa0fbc2ee7 (patch)
tree5f0b777ade4540e7c622b6ad2d2126d920dafa6b /docs
parent5c8849cede5577b8b23c3b1d75c03923ce034061 (diff)
downloadcurl-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.md4
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.