aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/http/receive_pack.go
diff options
context:
space:
mode:
authorPaulo Gomes <pjbgf@linux.com>2023-09-05 18:55:40 +0100
committerGitHub <noreply@github.com>2023-09-05 18:55:40 +0100
commit51e9c9f1d9261568573a8b4bd50e8694e14839f7 (patch)
treea12dba0543219d1f123f0266b7928f210669d96c /plumbing/transport/http/receive_pack.go
parent0377d0627fa4e32a576634f441e72153807e395a (diff)
parent5ad72db3bd60351da9ab42727952654e3ad5bcb2 (diff)
downloadgo-git-51e9c9f1d9261568573a8b4bd50e8694e14839f7.tar.gz
Merge pull request #835 from matejrisek/feature/do-not-swallow-vcs-host-errors
plumbing: Do not swallow http message coming from VCS providers
Diffstat (limited to 'plumbing/transport/http/receive_pack.go')
-rw-r--r--plumbing/transport/http/receive_pack.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/plumbing/transport/http/receive_pack.go b/plumbing/transport/http/receive_pack.go
index 4387ecf..3e736cd 100644
--- a/plumbing/transport/http/receive_pack.go
+++ b/plumbing/transport/http/receive_pack.go
@@ -102,7 +102,6 @@ func (s *rpSession) doRequest(
}
if err := NewErr(res); err != nil {
- _ = res.Body.Close()
return nil, err
}