mirror of
https://github.com/curl/curl.git
synced 2026-08-03 01:30:29 +03:00
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
This commit is contained in:
parent
5c8849cede
commit
a95a6ce6b8
22 changed files with 183 additions and 168 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue