View source code
Display the source code in etc/c/curl.d from which this page was generated on
github.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Page wiki
View or edit the community-maintained wiki page associated with this page.
Function etc.c.curl.curl_multi_perform
Prototype
extern(C) int curl_multi_perform( void* multi_handle, int* running_handles );
Name
curl_multi_perform
()
Desc
When the app thinks there's data available for curl it calls this function to read/write whatever there is right now. This returns as soon as the reads and writes are done. This function does not require that there actually is data available for reading or that data can be written, it can be called just in case. It returns the number of handles that still transfer data in the second argument's integer-pointer.
Returns
CURLMcode
type, general multi error code. *NOTE* that this only
returns errors etc regarding the whole multi stack. There might
still have occurred problems on invidual transfers even when this
returns OK.