]> git.ipfire.org Git - thirdparty/qemu.git/commit
block/curl: Remember all sockets
authorMax Reitz <mreitz@redhat.com>
Tue, 25 Oct 2016 02:54:30 +0000 (04:54 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 12 Dec 2016 23:48:44 +0000 (17:48 -0600)
commit6eb194ddd7a49145013df3880d78fc3bfedbee56
tree4d474ac97c837727e53aa609546f8f2616a326f1
parent7e278ef797c4ddc46315c5f1e867b76e6cbba879
block/curl: Remember all sockets

For some connection types (like FTP, generally), more than one socket
may be used (in FTP's case: control vs. data stream). As of commit
838ef602498b8d1985a231a06f5e328e2946a81d ("curl: Eliminate unnecessary
use of curl_multi_socket_all"), we have to remember all of the sockets
used by libcurl, but in fact we only did that for a single one. Since
one libcurl connection may use multiple sockets, however, we have to
remember them all.

Cc: qemu-stable@nongnu.org
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20161025025431.24714-4-mreitz@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
(cherry picked from commit ff5ca1664af85b24a4180d595ea6873fd3deac57)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/curl.c