From 1dfaa94f016cec7ec72b7ee2e4bd156e5a4348c6 Mon Sep 17 00:00:00 2001 From: Adin Schmahmann Date: Fri, 19 Nov 2021 12:34:15 -0500 Subject: [PATCH] don't add context to http request to keep prior behavior --- fsrefstore.go | 1 - 1 file changed, 1 deletion(-) diff --git a/fsrefstore.go b/fsrefstore.go index 3a0e9d1..0e3829d 100644 --- a/fsrefstore.go +++ b/fsrefstore.go @@ -216,7 +216,6 @@ func (f *FileManager) readURLDataObj(ctx context.Context, c cid.Cid, d *pb.DataO if err != nil { return nil, err } - req = req.WithContext(ctx) req.Header.Add("Range", fmt.Sprintf("bytes=%d-%d", d.GetOffset(), d.GetOffset()+d.GetSize_()-1))