utils: Disable automatic gzip content decoding in session

This was interacting badly with the OCI layer downloading, by
automatically uncompressing the gzip:ed layers.
tingping/wmclass
Alexander Larsson 2016-12-08 16:38:49 +01:00
parent e514dc2e14
commit 9865ed8989
1 changed files with 1 additions and 0 deletions

View File

@ -4299,6 +4299,7 @@ flatpak_create_soup_session (const char *user_agent)
SOUP_SESSION_TIMEOUT, 60,
SOUP_SESSION_IDLE_TIMEOUT, 60,
NULL);
soup_session_remove_feature_by_type (soup_session, SOUP_TYPE_CONTENT_DECODER);
http_proxy = g_getenv ("http_proxy");
if (http_proxy)
{