diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2019-12-27 23:39:24 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2020-01-11 18:16:28 -0500 |
commit | b700662b1c77c8af7e290538f748b71d75a79ae7 (patch) | |
tree | 44a05779a834e1a21b2c1f242cc9e84758739c9a /docs/libcurl/symbols-in-versions | |
parent | ea6d6205d9e13ce688afed28f6a09ade49b348d3 (diff) | |
download | curl-b700662b1c77c8af7e290538f748b71d75a79ae7.tar.gz |
multi: Change curl_multi_wait/poll to error on negative timeout
- Add new error CURLM_BAD_FUNCTION_ARGUMENT and return that error when
curl_multi_wait/poll is passed timeout param < 0.
Prior to this change passing a negative value to curl_multi_wait/poll
such as -1 could cause the function to wait forever.
Reported-by: hamstergene@users.noreply.github.com
Fixes https://github.com/curl/curl/issues/4763
Closes https://github.com/curl/curl/pull/4765
Diffstat (limited to 'docs/libcurl/symbols-in-versions')
-rw-r--r-- | docs/libcurl/symbols-in-versions | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/libcurl/symbols-in-versions b/docs/libcurl/symbols-in-versions index b9cf71cc2..7a8078557 100644 --- a/docs/libcurl/symbols-in-versions +++ b/docs/libcurl/symbols-in-versions @@ -334,6 +334,7 @@ CURLMSG_DONE 7.9.6 CURLMSG_NONE 7.9.6 CURLM_ADDED_ALREADY 7.32.1 CURLM_BAD_EASY_HANDLE 7.9.6 +CURLM_BAD_FUNCTION_ARGUMENT 7.69.0 CURLM_BAD_HANDLE 7.9.6 CURLM_BAD_SOCKET 7.15.4 CURLM_CALL_MULTI_PERFORM 7.9.6 |