aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/http/internal/test
Commit message (Collapse)AuthorAgeFilesLines
* plumbing: transport/http, add support for custom proxy URLsSanskar Jaiswal2023-05-042-0/+115
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>