From 53d47eb10924c4445b6b685c032dfb9a602d9e2b Mon Sep 17 00:00:00 2001 From: Wayne Starr Date: Thu, 22 Feb 2024 18:59:28 -0700 Subject: [PATCH] Add comment explaining more about why this is here --- src/internal/packager/images/push.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/internal/packager/images/push.go b/src/internal/packager/images/push.go index 235a85d7b9..bea71bddd8 100644 --- a/src/internal/packager/images/push.go +++ b/src/internal/packager/images/push.go @@ -51,6 +51,7 @@ func (i *ImageConfig) PushToZarfRegistry() error { httpTransport := http.DefaultTransport.(*http.Transport).Clone() httpTransport.TLSClientConfig.InsecureSkipVerify = i.Insecure + // TODO (@WSTARR) This is set to match the TLSHandshakeTimeout to potentially mitigate effects of https://github.com/defenseunicorns/zarf/issues/1444 httpTransport.ResponseHeaderTimeout = 10 * time.Second progressBar := message.NewProgressBar(totalSize, fmt.Sprintf("Pushing %d images to the zarf registry", len(i.ImageList))) defer progressBar.Stop()