• M
    Call curl_global_init from virInitialize to avoid thread-safety issues · 458c4998
    Matthias Bolte 提交于
    curl_global_init is not thread-safe. curl_easy_init might call
    curl_global_init when it was no called before. But curl_easy_init
    can be called from different threads by the ESX driver. Therefore,
    call curl_global_init from virInitialize to stop curl_easy_init from
    calling it.
    
    Reported by Benjamin Wang.
    458c4998
libvirt.c 595.7 KB