diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2020-03-17 18:59:07 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2020-03-18 02:58:42 -0400 |
commit | a268ad5d7e84189d8dfec3705d84a88ae064f7fc (patch) | |
tree | fd49d8fdcfdf90b8d46558282ee43c32a6d99c81 /docs | |
parent | 7284061361e32d6f4d6308bf41d751601d101ba2 (diff) |
multi: Improve parameter check for curl_multi_remove_handle
- If an easy handle is owned by a multi different from the one specified
then return CURLM_BAD_EASY_HANDLE.
Prior to this change I assume user error could cause corruption.
Closes https://github.com/curl/curl/pull/5116
Diffstat (limited to 'docs')
-rw-r--r-- | docs/libcurl/libcurl-errors.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/libcurl-errors.3 b/docs/libcurl/libcurl-errors.3 index eff6544b6..3ea394e69 100644 --- a/docs/libcurl/libcurl-errors.3 +++ b/docs/libcurl/libcurl-errors.3 @@ -283,8 +283,8 @@ Things are fine. The passed-in handle is not a valid CURLM handle. .IP "CURLM_BAD_EASY_HANDLE (2)" An easy handle was not good/valid. It could mean that it isn't an easy handle -at all, or possibly that the handle already is in used by this or another -multi handle. +at all, or possibly that the handle already is in use by this or another multi +handle. .IP "CURLM_OUT_OF_MEMORY (3)" You are doomed. .IP "CURLM_INTERNAL_ERROR (4)" |