Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | plumbing: transport/http, add support for custom proxy URLs | Sanskar Jaiswal | 2023-05-04 | 1 | -0/+2 |
| | | | | | | | | | | | | | | Add support for custom HTTP and HTTPS proxies for each session. The tests require server certificate and a matching private key to be able to run a TLS server and test HTTPS proxy functionality. The cert and the key are stored in `plumbing/transport/http/testdata/certs` and were generated using the following command: `openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt` Note: All details were left empty, except for the FQDN for which example.com was used. Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com> | ||||
* | plumbing: transport/http, refactor transport to cache underlying transport ↵ | Sanskar Jaiswal | 2023-05-04 | 1 | -0/+38 |
objects Refactor the in-built http transport to cache the underlying http transport objects mapped to its specific options for each Git transport object. This lets us reuse the transport for a specific set of configurations as recommended. (ref: https://pkg.go.dev/net/http#Transport) If there are no transport specific options provided, the default transport is used. Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com> |