fetcher/soup3: Rewrite without threads
authorDan Nicholson <dbn@endlessos.org>
Fri, 7 Apr 2023 15:47:14 +0000 (09:47 -0600)
committerDan Nicholson <dbn@endlessos.org>
Thu, 13 Apr 2023 15:00:23 +0000 (09:00 -0600)
commita0407225f15415ddf207c25201c48445418ab964
treef7f165dd36e920ba9d19c83f3dc1d19c175ff89a
parent945f0a860299e93985be02719c0c427162de551c
fetcher/soup3: Rewrite without threads

soup3 works best using only the async API from a single thread[1].
Rework the fetcher to stop using worker threads. In order to maximize
session usage across requests, sessions will be reused for each main
context.

1. https://libsoup.org/libsoup-3.0/client-thread-safety.html
src/libostree/ostree-fetcher-soup3.c