From d0432fdf26e91a6d91534b450112492aabe3a896 Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Mon, 12 Dec 2022 10:00:34 -0500 Subject: [Bugfix] Keylogger use message always output --- lgc/lgc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lgc') diff --git a/lgc/lgc.go b/lgc/lgc.go index d61ddf2..bb39a31 100644 --- a/lgc/lgc.go +++ b/lgc/lgc.go @@ -255,6 +255,7 @@ func (lgd *LoadGeneratingConnectionDownload) Start( debugLevel debug.DebugLevel, ) bool { lgd.downloaded = 0 + lgd.debug = debugLevel lgd.clientId = utilities.GenerateUniqueId() transport := http2.Transport{} transport.TLSClientConfig = &tls.Config{} @@ -278,7 +279,6 @@ func (lgd *LoadGeneratingConnectionDownload) Start( transport.TLSClientConfig.InsecureSkipVerify = true lgd.client = &http.Client{Transport: &transport} - lgd.debug = debugLevel lgd.valid = true lgd.tracer = traceable.GenerateHttpTimingTracer(lgd, lgd.debug) -- cgit v1.2.3