Re: [PATCH] debuginfod, libdwfl: Initialize libcurl and dlopen debuginfod-client lazily

2022-04-25 Thread Mark Wielaard
On Fri, Apr 22, 2022 at 11:53:43PM +0200, Mark Wielaard wrote: > We used to go out of our way to initialize libcurl early before any other > thread/code was running. But this meant that we might pay startup cost, > which under FIPS is significant, even for code that never uses libdebuginfod > or TL

[PATCH] debuginfod, libdwfl: Initialize libcurl and dlopen debuginfod-client lazily

2022-04-22 Thread Mark Wielaard
We used to go out of our way to initialize libcurl early before any other thread/code was running. But this meant that we might pay startup cost, which under FIPS is significant, even for code that never uses libdebuginfod or TLS libcurl connections. Although curl_global_init itself isn't thread-sa