diff options
| author | Will Hawkins <[email protected]> | 2023-05-23 17:58:14 -0400 |
|---|---|---|
| committer | Will Hawkins <[email protected]> | 2023-06-21 09:12:22 -0400 |
| commit | ec2ccf69d8b08abb03fa3bdb3e7e95ae1862d619 (patch) | |
| tree | 6b636bdbda82db40da89a2bde213c684542850dc /lgc/download.go | |
| parent | 5558f0347baaf6db066314f0eaf82d7fb552b2f7 (diff) | |
Major Update/Refactor to Support IETF 02
Beginning of a release candidate for support for IETF 02 tag of the
responsiveness spec.
Diffstat (limited to 'lgc/download.go')
| -rw-r--r-- | lgc/download.go | 4 |
1 files changed, 4 insertions, 0 deletions
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) |
