From: Gregor Jasny Date: Sun, 5 Sep 2021 17:55:27 +0000 (+0200) Subject: fix(http-storage): Disable broken connection keep-alive (#927) X-Git-Tag: v4.4.1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b410d4528420626a3a50597c946efa01ba0fb18;p=thirdparty%2Fccache.git fix(http-storage): Disable broken connection keep-alive (#927) --- diff --git a/src/storage/secondary/HttpStorage.cpp b/src/storage/secondary/HttpStorage.cpp index 6b3d00268..bf7e5802b 100644 --- a/src/storage/secondary/HttpStorage.cpp +++ b/src/storage/secondary/HttpStorage.cpp @@ -110,7 +110,6 @@ HttpStorageBackend::HttpStorageBackend(const Params& params) m_http_client.set_default_headers({ {"User-Agent", FMT("{}/{}", CCACHE_NAME, CCACHE_VERSION)}, }); - m_http_client.set_keep_alive(true); auto connect_timeout = k_default_connect_timeout; auto operation_timeout = k_default_operation_timeout;