From a36bd475b92776f1635a45b2620f11e410b2e394 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Thu, 9 Sep 2021 21:35:46 +0200 Subject: [PATCH] fix(http-storage): Enable keep-alive again after fixing SIGPIPE issue See #931. --- src/storage/secondary/HttpStorage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/storage/secondary/HttpStorage.cpp b/src/storage/secondary/HttpStorage.cpp index bf7e5802b..6b3d00268 100644 --- a/src/storage/secondary/HttpStorage.cpp +++ b/src/storage/secondary/HttpStorage.cpp @@ -110,6 +110,7 @@ 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; -- 2.47.2