Home
last modified time | relevance | path

Searched hist:"838 ef602" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/block/
H A Dcurl.c838ef602 Tue Apr 29 10:03:30 CDT 2014 Matthew Booth <mbooth@redhat.com> curl: Eliminate unnecessary use of curl_multi_socket_all

curl_multi_socket_all is a deprecated catch-all which checks for
activities on all open curl sockets. We have enough information from
the event loop to check only the sockets with activity. This change
removes use of curl_multi_socket_all in favour of
curl_multi_socket_action called with the relevant handle.

At the same time, it also ensures that the driver only checks for
completion of read operations after reading from a socket, rather than
both reading and writing.

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>