diff options
author | Sanskar Jaiswal <jaiswalsanskar078@gmail.com> | 2023-04-28 17:17:00 +0530 |
---|---|---|
committer | Sanskar Jaiswal <jaiswalsanskar078@gmail.com> | 2023-05-04 11:53:09 +0530 |
commit | a830187d90a6bc36f9466c075ed49076f591efa9 (patch) | |
tree | 52c3450287073b3d8f65b2c001f9c7150cc66b9d /example_test.go | |
parent | 399b1ec2d598b7950816727b8d92e8580553372c (diff) | |
download | go-git-a830187d90a6bc36f9466c075ed49076f591efa9.tar.gz |
plumbing: transport/http, add support for custom proxy URLs
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>
Diffstat (limited to 'example_test.go')
0 files changed, 0 insertions, 0 deletions