Home
last modified time | relevance | path

Searched hist:"3 ce6a729b5d78b13283ddc6c529811f67519a62d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/block/
H A Dcurl.cdiff 3ce6a729b5d78b13283ddc6c529811f67519a62d Mon May 15 05:00:56 CDT 2017 Paolo Bonzini <pbonzini@redhat.com> curl: split curl_find_state/curl_init_state

If curl_easy_init fails, a CURLState is left with s->in_use = 1. Split
curl_init_state in two, so that we can distinguish the two failures and
call curl_clean_state if needed.

While at it, simplify curl_find_state, removing a dummy loop. The
aio_poll loop is moved to the sole caller that needs it.

Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20170515100059.15795-5-pbonzini@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>