Re: [Qemu-devel] [Qemu-block] [PATCH 4/6] curl: Report only ready sockets

2019-09-10 Thread Max Reitz
On 09.09.19 22:16, John Snow wrote: > > > On 8/27/19 12:34 PM, Max Reitz wrote: >> Instead of reporting all sockets to cURL, only report the one that has >> caused curl_multi_do_locked() to be called. This lets us get rid of the >> QLIST_FOREACH_SAFE() list, which was actually wrong: SAFE foreac

Re: [Qemu-devel] [Qemu-block] [PATCH 4/6] curl: Report only ready sockets

2019-09-09 Thread John Snow
On 8/27/19 12:34 PM, Max Reitz wrote: > Instead of reporting all sockets to cURL, only report the one that has > caused curl_multi_do_locked() to be called. This lets us get rid of the > QLIST_FOREACH_SAFE() list, which was actually wrong: SAFE foreaches are > only safe when the current element