summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-fetcher.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2017-12-06 17:07:48 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2017-12-07 19:08:01 +0000
commit7173ac76bc1930eaa592417ea52dce308842d2a7 (patch)
tree718323297b91a71ca5832541dcb13d738b8f31b1 /src/libostree/ostree-fetcher.h
parent3f4506f088b17fa0db7929fc4818f11f9ad1396b (diff)
downloadostree-7173ac76bc1930eaa592417ea52dce308842d2a7.tar.gz
pull: Add http2=false remote config option
This seems to work around https://github.com/ostreedev/ostree/issues/1362 Though I'm not entirely sure why yet. But at least with this it'll be easier for people to work around things locally. Closes: #1368 Approved by: jlebon
Diffstat (limited to 'src/libostree/ostree-fetcher.h')
-rw-r--r--src/libostree/ostree-fetcher.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libostree/ostree-fetcher.h b/src/libostree/ostree-fetcher.h
index 18aaec40..9cd2f008 100644
--- a/src/libostree/ostree-fetcher.h
+++ b/src/libostree/ostree-fetcher.h
@@ -50,7 +50,8 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(OstreeFetcher, g_object_unref)
typedef enum {
OSTREE_FETCHER_FLAGS_NONE = 0,
OSTREE_FETCHER_FLAGS_TLS_PERMISSIVE = (1 << 0),
- OSTREE_FETCHER_FLAGS_TRANSFER_GZIP = (1 << 1)
+ OSTREE_FETCHER_FLAGS_TRANSFER_GZIP = (1 << 1),
+ OSTREE_FETCHER_FLAGS_DISABLE_HTTP2 = (1 << 2),
} OstreeFetcherConfigFlags;
typedef enum {