]> www.infradead.org Git - users/dwmw2/qemu.git/commit
curl: Check curl_multi_add_handle()'s return code
authorMax Reitz <mreitz@redhat.com>
Tue, 10 Sep 2019 12:41:36 +0000 (14:41 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 1 Oct 2019 21:58:28 +0000 (16:58 -0500)
commit4e5fe75422608046312f986743e4e267c2e3bdd6
tree7a9200add73d38e7512d8eeaa4fff8df5176bbf2
parent6739c97bdec07481392ac4f00445038247b16d76
curl: Check curl_multi_add_handle()'s return code

If we had done that all along, debugging would have been much simpler.
(Also, I/O errors are better than hangs.)

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190910124136.10565-8-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 c34dc07f9f01cf686e512f939aece744723072cd)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/curl.c