mirror of
https://github.com/curl/curl.git
synced 2026-05-30 12:37:28 +03:00
CURLMOPT_SOCKETFUNCTION.md: add advice for socket callback invocation times
Explain when a registered socket callback may get invoked to make user better aware on how to handle it. Closes #16441
This commit is contained in:
parent
e1b3d46944
commit
51f8aa79a9
1 changed files with 5 additions and 0 deletions
|
|
@ -47,6 +47,11 @@ libcurl then expects the application to monitor the sockets for the specific
|
|||
activities and tell libcurl again when something happens on one of them. Tell
|
||||
libcurl by calling curl_multi_socket_action(3).
|
||||
|
||||
This callback may get invoked at any time when interacting with libcurl.
|
||||
This may even happen after all transfers are done and is *likely* to
|
||||
happen *during* a call to curl_multi_cleanup(3) when cached connections
|
||||
are shut down.
|
||||
|
||||
# CALLBACK ARGUMENTS
|
||||
|
||||
*easy* identifies the specific transfer for which this update is related.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue