]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
fix(http-storage): Disable broken connection keep-alive (#927)
authorGregor Jasny <gregor.jasny@logmein.com>
Sun, 5 Sep 2021 17:55:27 +0000 (19:55 +0200)
committerGitHub <noreply@github.com>
Sun, 5 Sep 2021 17:55:27 +0000 (19:55 +0200)
src/storage/secondary/HttpStorage.cpp

index 6b3d0026884456e1038daaf8ddbc4226882b6b01..bf7e5802b00dc6beec9a9914eaca41d18c0d9784 100644 (file)
@@ -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;