lib/fetcher: Add version to USER_AGENT string
This came up in allowing Fedora infrastructure to work around a libcurl bug with HTTP2: https://pagure.io/atomic-wg/issue/405 Closes: https://github.com/ostreedev/ostree/issues/1405 Closes: #1406 Approved by: jlebon
This commit is contained in:
1 parent
0be95ded99
commit
fdf7e2c560
3 files changed
+8
-2
No files matched your search
@@ -479,7 +479,7 @@ ostree_fetcher_session_thread (gpointer data)
|
||||
g_main_context_push_thread_default (mainctx);
|
||||
|
||||
/* We retain ownership of the SoupSession reference. */
|
||||
closure->session = soup_session_async_new_with_options (SOUP_SESSION_USER_AGENT, "ostree ",
|
||||
closure->session = soup_session_async_new_with_options (SOUP_SESSION_USER_AGENT, OSTREE_FETCHER_USERAGENT_STRING,
|
||||
SOUP_SESSION_SSL_USE_SYSTEM_CA_FILE, TRUE,
|
||||
SOUP_SESSION_USE_THREAD_CONTEXT, TRUE,
|
||||
SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_REQUESTER,
|
||||
|
||||
Reference in new issue
Block a user