curl: Keep pointer to the CURLState in CURLSocket
commitc4134c9c46864a3bff04b92acbf8ea5b1b0ca6d9
authorMax Reitz <mreitz@redhat.com>
Tue, 10 Sep 2019 12:41:30 +0000 (10 14:41 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 1 Oct 2019 21:58:28 +0000 (1 16:58 -0500)
tree967b0ff333fd94fc51192495110981abaa0ff5f1
parentb9405afb0956fe2c293a94bdc4440579e5c0efee
curl: Keep pointer to the CURLState in CURLSocket

A follow-up patch will make curl_multi_do() and curl_multi_read() take a
CURLSocket instead of the CURLState.  They still need the latter,
though, so add a pointer to it to the former.

Cc: qemu-stable@nongnu.org
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20190910124136.10565-2-mreitz@redhat.com
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
(cherry picked from commit 0487861685294660b23bc146e1ebd5304aa8bbe0)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/curl.c