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

Commit 6c41819

Browse files
authored
Merge pull request #446 from thaJeztah/19.03_backport_ctx_upload_cancel
[19.03 backport] builder-next: close build context upload on cancel Upstream-commit: 60220a48b26ca96928efcd6222bc8e4b0d254b1b Component: engine
2 parents 8f7f8f4 + f72d87c commit 6c41819

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)