New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
340bb19 breaks intended usage of curl_multi_assign #8480
Labels
Comments
jay
added a commit
to jay/curl
that referenced
this issue
Feb 20, 2022
Several years ago a change was made to block user callbacks from calling back into the API when not supported (recursive calls). One of the calls blocked was curl_multi_assign. Recently the blocking was extended to the multi interface API, however curl_multi_assign may need to be called from within those user callbacks (eg CURLMOPT_SOCKETFUNCTION). I can't think of any callback where it would be unsafe to call curl_multi_assign so I removed the restriction entirely. Reported-by: Michael Wallner Ref: curl@b46cfbc Ref: curl@340bb19 Fixes curl#8480 Closes #xxxx
try #8483 |
jay
added a commit
to jay/curl
that referenced
this issue
Feb 20, 2022
Several years ago a change was made to block user callbacks from calling back into the API when not supported (recursive calls). One of the calls blocked was curl_multi_assign. Recently the blocking was extended to the multi interface API, however curl_multi_assign may need to be called from within those user callbacks (eg CURLMOPT_SOCKETFUNCTION). I can't think of any callback where it would be unsafe to call curl_multi_assign so I removed the restriction entirely. Reported-by: Michael Wallner Ref: curl@b46cfbc Ref: curl@340bb19 Fixes curl#8480 Closes #xxxx
Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I did this
Watched CI break with curl 7.81.
Seriously, 340bb19 breaks the intended usage of
curl_multi_assign
.I expected the following
curl_multi_assign
to work from within callbacks.Coincidentally,
docs/examples/hiperfifo.c
anddocs/examples/multi-event.c
are broken, too.curl/libcurl version
7.81/master
operating system
POSIX
The text was updated successfully, but these errors were encountered: