OSDN Git Service

curl: Ensure all informationals are checked for completion
authorMatthew Booth <mbooth@redhat.com>
Tue, 29 Apr 2014 15:03:31 +0000 (16:03 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 30 Apr 2014 14:34:18 +0000 (16:34 +0200)
commit1f2cead324436da25c3607f4b957f0198a01fc01
tree212c9d65a04b849639ca4c57a77cbed0279727ad
parent838ef602498b8d1985a231a06f5e328e2946a81d
curl: Ensure all informationals are checked for completion

According to the documentation, the correct way to ensure all
informationals have been returned by curl_multi_info_read is to loop
until it returns NULL.

Signed-off-by: Matthew Booth <mbooth@redhat.com>
Tested-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/curl.c