diff options
author | Max Reitz <mreitz@redhat.com> | 2019-09-10 14:41:33 +0200 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2019-10-30 11:34:26 -0500 |
commit | 0888ddac8e507e54ae69db7ccbae1117d7ec33b1 (patch) | |
tree | fae4e58d89d6e36b5b15dafaecbf0135b2ec2165 /block/mirror.c | |
parent | 4be97ef966f5d88a64bcc359d2c72152bc08b322 (diff) |
curl: Pass CURLSocket to curl_multi_do()
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 that is accomplished by this
patch here.
Cc: qemu-stable@nongnu.org
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190910124136.10565-5-mreitz@redhat.com
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
(cherry picked from commit 9dbad87d25587ff640ef878f7b6159fc368ff541)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'block/mirror.c')
0 files changed, 0 insertions, 0 deletions