Re: [Qemu-devel] [Qemu-block] [PATCH 3/6] curl: Pass CURLSocket to curl_multi_{do, read}()

2019-09-10 Thread Max Reitz
On 09.09.19 22:10, John Snow wrote: > > > On 8/27/19 12:34 PM, Max Reitz wrote: >> curl_multi_do_locked() currently marks all sockets as ready. That is >> not only inefficient, but in fact unsafe (the loop is). A follow-up >> patch will change that, but to do so, curl_multi_do_locked() needs to

Re: [Qemu-devel] [Qemu-block] [PATCH 3/6] curl: Pass CURLSocket to curl_multi_{do, read}()

2019-09-09 Thread John Snow
On 8/27/19 12:34 PM, Max Reitz wrote: > curl_multi_do_locked() currently marks all sockets as ready. That is > not only inefficient, but in fact unsafe (the loop is). A follow-up > patch will change that, but to do so, curl_multi_do_locked() needs to > know exactly which socket is ready; and t