summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2022-12-12 10:00:34 -0500
committerWill Hawkins <[email protected]>2022-12-12 10:00:34 -0500
commitd0432fdf26e91a6d91534b450112492aabe3a896 (patch)
treee0738a5043e9c500538577e5fafd84fa91d618da
parenta5d57b9a98122359afc19ac016d8618b43ef615d (diff)
[Bugfix] Keylogger use message always output
-rw-r--r--lgc/lgc.go2
1 files changed, 1 insertions, 1 deletions
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)