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
@@ -25,6 +25,12 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/* We used to only send "ostree/" but now include the version
|
||||
* https://github.com/ostreedev/ostree/issues/1405
|
||||
* This came up in allowing Fedora infrastructure to work around a libcurl bug with HTTP2.
|
||||
*/
|
||||
#define OSTREE_FETCHER_USERAGENT_STRING (PACKAGE_NAME "/" PACKAGE_VERSION)
|
||||
|
||||
static inline gboolean
|
||||
_ostree_fetcher_tmpf_from_flags (OstreeFetcherRequestFlags flags,
|
||||
int dfd,
|
||||
|
||||
Reference in new issue
Block a user