From ec2ccf69d8b08abb03fa3bdb3e7e95ae1862d619 Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Tue, 23 May 2023 17:58:14 -0400 Subject: Major Update/Refactor to Support IETF 02 Beginning of a release candidate for support for IETF 02 tag of the responsiveness spec. --- lgc/download.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lgc/download.go') diff --git a/lgc/download.go b/lgc/download.go index a73cc37..c13a1b1 100644 --- a/lgc/download.go +++ b/lgc/download.go @@ -64,6 +64,10 @@ func NewLoadGeneratingConnectionDownload(url string, keyLogger io.Writer, connec return lgd } +func (lgd *LoadGeneratingConnectionDownload) Direction() LgcDirection { + return LGC_DOWN +} + func (lgd *LoadGeneratingConnectionDownload) WaitUntilStarted(ctxt context.Context) bool { conditional := func() bool { return lgd.status != LGC_STATUS_NOT_STARTED } go utilities.ContextSignaler(ctxt, 500*time.Millisecond, &conditional, lgd.statusWaiter) -- cgit v1.2.3