• Michael Hanselmann's avatar
    Convert RPC client to PycURL · 33231500
    Michael Hanselmann authored
    Instead of using our custom HTTP client, using PycURL's multi
    interface allows us to get rid of the HTTP client threadpool.
    The majority of the code is still in the ganeti.http.client
    A simple per-thread HTTP client pool gives cURL a chance to
    cache and retain as much information as possible (e.g. SSL certs).
    Unused HTTP clients (e.g. due to removed nodes) are deleted after
    25 requests going through the pool.
    Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
    Reviewed-by: default avatarIustin Pop <iustin@google.com>
Makefile.am 17.3 KB