-
Paolo Bonzini authored
All curl callbacks go through curl_multi_do, and hence are called with s->mutex held. Note that with comments, and make curl_read_cb drop the lock before invoking the callback. Likewise for curl_find_buf, where the callback can be invoked by the caller. Cc: qemu-stable@nongnu.org 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-3-pbonzini@redhat.com
Signed-off-by:
Jeff Cody <jcody@redhat.com>Paolo Bonzini authoredAll curl callbacks go through curl_multi_do, and hence are called with s->mutex held. Note that with comments, and make curl_read_cb drop the lock before invoking the callback. Likewise for curl_find_buf, where the callback can be invoked by the caller. Cc: qemu-stable@nongnu.org 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-3-pbonzini@redhat.com
Signed-off-by:
Jeff Cody <jcody@redhat.com>
Loading