From b95582ae1af8a89afdaf70f8593333c67e58c4a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=8C=E8=A6=8B=20=E7=81=AF=E8=8A=B1?= <172008506+satomitouka@users.noreply.github.com> Date: Wed, 12 Feb 2025 19:14:13 +0800 Subject: [PATCH] fix wrong transport --- proxy/gitreq.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/gitreq.go b/proxy/gitreq.go index 165af48..117de27 100644 --- a/proxy/gitreq.go +++ b/proxy/gitreq.go @@ -24,7 +24,7 @@ func initGitHTTPClient(cfg *config.Config) { IdleConnTimeout: 30 * time.Second, } if cfg.Outbound.Enabled { - initTransport(cfg, ctr) + initTransport(cfg, gtr) } gclient = &http.Client{ Transport: gtr,