summaryrefslogtreecommitdiff
path: root/http.go
AgeCommit message (Collapse)Author
2024-12-17rename as libgit2v0.1.0Jeff Carr
2022-10-04libgit2 v1.5.0 #major (#929)Sanskar Jaiswal
Update libgit2 to v1.5.0. Replace `SmartProxyOptions()` with `SmartRemoteConnectOptions()`. Fixes: https://github.com/libgit2/git2go/issues/899 Signed-off-by: Sanskar Jaiswal <[email protected]> Co-authored-by: lhchavez <[email protected]>
2022-07-13Set BasicAuth in http.go only if username and password are not empty (#914)Calin
This prevents error "read/write on closed pipe". Go's http.client::send() always closes req.Body, so if the first request attempt is unsuccessful, any subsequent requests after calling the `CredentialsCallback` will attempt to read/write on a closed pipe.
2021-09-05Add support for managed HTTP/S transports (#810)lhchavez
This change uses the newly-exposed Transport interface to use Go's implementation of http.Client instead of httpclient via libgit2.