Skip to content

Document curl_errno/curl_error behavior with multi handles#5233

Open
lacatoire wants to merge 2 commits intophp:masterfrom
lacatoire:fix/issue-5047-curl-errno-multi-behavior
Open

Document curl_errno/curl_error behavior with multi handles#5233
lacatoire wants to merge 2 commits intophp:masterfrom
lacatoire:fix/issue-5047-curl-errno-multi-behavior

Conversation

@lacatoire
Copy link
Contributor

Add a note to curl_errno() and curl_error() documentation explaining that these functions always return 0 or empty string when the handle was executed via curl_multi_exec(). Users should use curl_multi_info_read() to retrieve errors for individual transfers.

Fixes #5047

Add a note to curl_errno() and curl_error() documentation explaining
that these functions always return 0 or empty string when the handle
was executed via curl_multi_exec(). Users should use
curl_multi_info_read() to retrieve errors for individual transfers.

Refs php#5047
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

curl_errno() docs should mention that it always returns 0 when the CurlHandle was executed via a CurlMultiHandle

1 participant