Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit f72d87c

Browse files
tonistiigithaJeztah
authored andcommitted
builder-next: close build context upload on cancel
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> (cherry picked from commit 2c2cd9b86a2e738b1ccf379971e4a0235ab9c758) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: c0fd6556f2bee8ce89c8fad855b1291a67d724b5 Component: engine
1 parent a62d4a6 commit f72d87c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

components/engine/builder/builder-next/reqbodyhandler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ func (h *reqBodyHandler) newRequest(rc io.ReadCloser) (string, func()) {
3535
h.mu.Lock()
3636
delete(h.requests, id)
3737
h.mu.Unlock()
38+
rc.Close()
3839
}
3940
}
4041

0 commit comments

Comments
 (0)