curl: Keep pointer to the CURLState in CURLSocket
commit0487861685294660b23bc146e1ebd5304aa8bbe0
authorMax Reitz <mreitz@redhat.com>
Tue, 10 Sep 2019 12:41:30 +0000 (10 14:41 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 16 Sep 2019 13:31:11 +0000 (16 15:31 +0200)
tree3a228f3dc39dd987d7a6cbc8c3d1ae760ad1a492
parent9407cf862ceabddb22ae4bad5a0c8cb5ef6979c5
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>
block/curl.c